karldw opened a new pull request #11001:
URL: https://github.com/apache/arrow/pull/11001


   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"]))'
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to