From 2476bc319c8fc0297f089ba2ba65fbba0724ed29 Mon Sep 17 00:00:00 2001 From: Hyukjin Kwon Date: Fri, 26 Dec 2025 09:17:53 +0900 Subject: [PATCH 1/2] Add the explicit mirror to install R dependencies --- r/vignettes/developers/setup.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r/vignettes/developers/setup.Rmd b/r/vignettes/developers/setup.Rmd index 4c1eab1e697..c0748868268 100644 --- a/r/vignettes/developers/setup.Rmd +++ b/r/vignettes/developers/setup.Rmd @@ -189,7 +189,7 @@ checkout: ```{bash, save=run} popd # To go back to the root directory of the project, from cpp/build pushd r -R -e "install.packages('remotes'); remotes::install_deps(dependencies = TRUE)" +R -e 'install.packages("remotes", repos="https://cloud.r-project.org"); remotes::install_deps(dependencies = TRUE)' R CMD INSTALL --no-multiarch . ``` From e508a03b0a8e7d228d61ba48c419366b4a9b1394 Mon Sep 17 00:00:00 2001 From: Jonathan Keane Date: Sat, 10 Jan 2026 07:58:57 -0600 Subject: [PATCH 2/2] Update installation instructions for Arrow R package Clarified instructions for installing the R package and its dependencies after building libarrow. Added information about setting a repository in the install command. --- r/vignettes/developers/setup.Rmd | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/r/vignettes/developers/setup.Rmd b/r/vignettes/developers/setup.Rmd index c0748868268..e61436df31d 100644 --- a/r/vignettes/developers/setup.Rmd +++ b/r/vignettes/developers/setup.Rmd @@ -182,14 +182,12 @@ cmake --build . --target install -j8 ### Step 4 - Build the Arrow R package -Once you've built libarrow, you can install the R package and its -dependencies, along with additional dev dependencies, from the git -checkout: +Once you've built libarrow, you can install the R package and its dependencies, along with additional dev dependencies, from the git checkout like below. You might need to either pick and set a repository interactively or you could add a repository to the `install.packages()` command with `repos="https://cloud.r-project.org"`. ```{bash, save=run} popd # To go back to the root directory of the project, from cpp/build pushd r -R -e 'install.packages("remotes", repos="https://cloud.r-project.org"); remotes::install_deps(dependencies = TRUE)' +R -e 'install.packages("remotes"); remotes::install_deps(dependencies = TRUE)' R CMD INSTALL --no-multiarch . ```