nealrichardson commented on a change in pull request #11001: URL: https://github.com/apache/arrow/pull/11001#discussion_r698748482
########## File path: r/R/install-arrow.R ########## @@ -137,3 +136,68 @@ reload_arrow <- function() { message("Please restart R to use the 'arrow' package.") } } + + +#' Download all optional Arrow dependencies +#' +#' @param deps_dir Directory to save files into. Will be created if necessary. +#' Defaults to the value of `ARROW_THIRDPARTY_DEPENDENCY_DIR`, if that +#' environment variable is set. +#' +#' @return `deps_dir`, invisibly +#' +#' This function is used for setting up an offline build. If it's possible to +#' download at build time, don't use this function. Instead, let `cmake` +#' download them for you. +#' If the files already exist in `deps_dir`, they will be re-downloaded and +#' overwritten. Do not put other files in this directory. +#' These saved files are only used in the build if `ARROW_DEPENDENCY_SOURCE` +#' is `BUNDLED` or `AUTO`. +#' https://arrow.apache.org/docs/developers/cpp/building.html#offline-builds +#' +#' ## Steps for an offline install with optional dependencies: +#' +#' ### On a computer with internet access: +#' - Install the `arrow` package Review comment: Yeah that makes sense. I was hoping to avoid the sound of "to install arrow, first install arrow". -- 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