karldw edited a comment on pull request #11001:
URL: https://github.com/apache/arrow/pull/11001#issuecomment-909368665


   > An idea came to me last night: what if we had a utility that would make a 
"fat" package, like:
   > 
   > ```r
   > function(source_package) {
   >   untar(source_package)
   >   system("inst/download_script.sh tools/thirdparty")
   >   tar()
   > }
   > ```
   > 
   > then you would just copy that arrow_x.y.z.tar.gz and install it, no need 
to copy other files and set env vars.
   
   I like that! I can take a try at it.
   
   * Do you want to include all of the downloaded files (87 MB), or just the 
ones an R build could possibly use (55 MB)? 
     * edit: Currently including all
   * Do you still want to be able to run `download_optional_dependencies` from 
within an installed R package? If not, we can use the copy of 
`download_dependencies.sh` that's in `tools/cpp/thirdparty/` (we're currently 
making another copy for `inst/` so it's available at runtime).
     * edit: Deleted the function and these copies of those two files
   * Should we bundle cmake while we're at it? This might be convenient, but is 
a bit of scope creep.
     * edit: I didn't, but let me know if you think I should.
   


-- 
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


Reply via email to