You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/31 13:07:11 UTC

[GitHub] [arrow] assignUser commented on a diff in pull request #13212: MINOR: [R][Docs] Add note about RSPM binary installation

assignUser commented on code in PR #13212:
URL: https://github.com/apache/arrow/pull/13212#discussion_r885612080


##########
r/vignettes/install.Rmd:
##########
@@ -43,10 +43,14 @@ If you want a quicker installation process, and by default a more fully-featured
 
 For example, if you are using Ubuntu 20.04 (Focal):
 
-```{r, eval = FALSE}
+```r
+options(HTTPUserAgent = sprintf("R/%s R (%s)", getRversion(), paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"])))

Review Comment:
   This creates a horizontal scrollbar that overshoots the code area:
   ![image](https://user-images.githubusercontent.com/16141871/171179398-82d5aa9c-0f8d-40bb-80da-a37c7c106b80.png)
   
   ```suggestion
   options(
       HTTPUserAgent =
           sprintf(
               "R/%s R (%s)",
               getRversion(),
               paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"])
           )
   )
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org