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

kou 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 9f8d0c4538 MINOR: [R][Docs] Fix install command for nightly builds 
(#13261)
9f8d0c4538 is described below

commit 9f8d0c4538e2c82e94936ed38c8d6b10fa1c5ab3
Author: eitsupi <[email protected]>
AuthorDate: Tue May 31 04:44:21 2022 +0900

    MINOR: [R][Docs] Fix install command for nightly builds (#13261)
    
    `getOption("repos")` must be specified to install dependent packages.
    
    Authored-by: SHIMA Tatsuya <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 r/README.md             | 2 +-
 r/vignettes/install.Rmd | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/r/README.md b/r/README.md
index 8530d198cc..3ccb0d55ec 100644
--- a/r/README.md
+++ b/r/README.md
@@ -79,7 +79,7 @@ nightly and hosted at 
<https://arrow-r-nightly.s3.amazonaws.com>. To
 install from there:
 
 ``` r
-install.packages("arrow", repos = "https://arrow-r-nightly.s3.amazonaws.com";)
+install.packages("arrow", repos = c(arrow = 
"https://arrow-r-nightly.s3.amazonaws.com";, getOption("repos")))
 ```
 
 Conda users can install `arrow` nightly builds with
diff --git a/r/vignettes/install.Rmd b/r/vignettes/install.Rmd
index dee86b2bd5..d9cdb5664d 100644
--- a/r/vignettes/install.Rmd
+++ b/r/vignettes/install.Rmd
@@ -259,7 +259,7 @@ from the Ursa Labs repository:
 
 ```r
 Sys.setenv(NOT_CRAN = TRUE)
-install.packages("arrow", repos = "https://arrow-r-nightly.s3.amazonaws.com";)
+install.packages("arrow", repos = c(arrow = 
"https://arrow-r-nightly.s3.amazonaws.com";, getOption("repos")))
 ```
 
 or for conda users via:

Reply via email to