Commits


karldw authored and Jonathan Keane committed 9064fa0cccd
ARROW-12981: [R] Install source package from CRAN alone I took a stab at implementing the approach @nealrichardson laid out in [ARROW-12981](https://issues.apache.org/jira/browse/ARROW-12981?focusedCommentId=17400415#comment-17400415). Please let me know what you think, and if you'd like any changes! I wrote some basic tests for the `download_optional_dependencies()` helper function, but it would be good to have more comprehensive install tests. These could be something like: ```sh export LIBARROW_BINARY=false export LIBARROW_BUILD=true export LIBARROW_DOWNLOAD=false export LIBARROW_MINIMAL=false # Make sure offline, feature-light installation works R -e "install.packages('arrow_x.y.z.p.tar.xz')" R -e 'stopifnot(arrow::arrow_available(), isFALSE(arrow::arrow_info()$capabilities["parquet"]))' # Download and install the thirdparty features R -e "arrow::download_optional_dependencies('arrow-thirdparty')" source arrow-thirdparty/DEFINE_ENV_VARS.sh R -e "install.packages('arrow_x.y.z.p.tar.xz') R -e 'stopifnot(arrow::arrow_available(), isTRUE(arrow::arrow_info()$capabilities["parquet"]))' ``` Closes #11001 from karldw/fix-12981 Lead-authored-by: karldw <karldw@users.noreply.github.com> Co-authored-by: Jonathan Keane <jkeane@gmail.com> Signed-off-by: Jonathan Keane <jkeane@gmail.com>