nealrichardson commented on a change in pull request #10841: URL: https://github.com/apache/arrow/pull/10841#discussion_r681021590
########## File path: ci/scripts/r_deps.sh ########## @@ -25,6 +25,12 @@ source_dir=${1}/r pushd ${source_dir} # Install R package dependencies +# install.packages() emits warnings if packages fail to install, +# but we want to error/fail the build. +# options(warn=2) turns warnings into errors +${R_BIN} -e "options(warn=2); install.packages('remotes'); remotes::install_cran(c('glue', 'rcmdcheck', 'sys')); remotes::install_deps()" +# Separately install the optional/test dependencies but don't error on them, +# they're not available everywhere and that's ok ${R_BIN} -e "install.packages('remotes'); remotes::install_cran(c('glue', 'rcmdcheck', 'sys'))" Review comment: You're right, sloppy merge conflict resolution, I'll fix -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org