This is an automated email from the ASF dual-hosted git repository.

assignuser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ed98bf821 GH-15028: [R][Docs] `NOT_CRAN` should be `"true"` instead 
of `TRUE` in R (#15029)
9ed98bf821 is described below

commit 9ed98bf821c3acb00f0978bfa5af364a0103e13b
Author: eitsupi <[email protected]>
AuthorDate: Thu Dec 22 01:10:08 2022 +0900

    GH-15028: [R][Docs] `NOT_CRAN` should be `"true"` instead of `TRUE` in R 
(#15029)
    
    
    * Closes: #15028
    
    Authored-by: SHIMA Tatsuya <[email protected]>
    Signed-off-by: Jacob Wujciak-Jens <[email protected]>
---
 r/vignettes/install.Rmd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/r/vignettes/install.Rmd b/r/vignettes/install.Rmd
index 106e47884e..e778d9a83d 100644
--- a/r/vignettes/install.Rmd
+++ b/r/vignettes/install.Rmd
@@ -117,7 +117,7 @@ knitr::include_graphics("./r_source_libarrow_binary.png")
 Another way of achieving faster installation with all key features enabled is 
to use static libarrow binaries we host. These are used automatically on many 
Linux distributions (x86_64 architecture only), according to the 
[allowlist](https://github.com/apache/arrow/blob/master/r/tools/nixlibs-allowlist.txt).
 If your distribution isn't in the list, you can opt-in by setting the 
`NOT_CRAN` environment variable before you call `install.packages()`:
 
 ```{r, eval = FALSE}
-Sys.setenv("NOT_CRAN" = TRUE)
+Sys.setenv("NOT_CRAN" = "true")
 install.packages("arrow")
 ```
 
@@ -130,7 +130,7 @@ If you don't have these installed, the libarrow binary 
won't be used, and you wi
 If the internet access of your computer doesn't allow downloading the libarrow 
binaries (e.g. if access is limited to CRAN), you can first identify the right 
source and version by trying to install on the offline computer:
 
 ```{r, eval = FALSE}
-Sys.setenv("NOT_CRAN" = TRUE, "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = TRUE)
+Sys.setenv("NOT_CRAN" = "true", "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = TRUE)
 install.packages("arrow")
 # This will fail if no internet access, but will print the binaries URL
 ```

Reply via email to