diff --git a/r/vignettes/developers/setup.Rmd b/r/vignettes/developers/setup.Rmd index 4c1eab1e697..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'); remotes::install_deps(dependencies = TRUE)" +R -e 'install.packages("remotes"); remotes::install_deps(dependencies = TRUE)' R CMD INSTALL --no-multiarch . ```