-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-7833: [R] Make install_arrow() actually install arrow
`install_arrow()` now takes a few arguments, which let you * Install the latest CRAN version (no arguments) * Install the latest nightly build (`install_arrow(nightly = TRUE)`) * Install with Linux C++ binaries by default (they are off by default in the current CRAN release), and conveniently change that setting without messing with env vars * Ignore system-installed arrow packages by default (to ensure that R and C++ versions match) It will also attempt to reload the package after installation, if `pkgload` is available. The other important change in this patch is to make `LIBARROW_DOWNLOAD` off by default, in order to appease CRAN. This unfortunately makes Linux installation only "just work" if you have set an env var. Other improvements in this patch: * Rename the env var `LIBARROW_BINARY_DISTRO` to `LIBARROW_BINARY` (brevity, and it also takes boolean values to enable or disable binary downloading) * Fix the default value setting of that variable * Update installation guide and README accordingly * Remove README.Rmd and just keep the static README.md. There's no value for us to have an R Markdown readme and have to worry about keeping it in sync; we have vignettes and help pages for examples. Closes #6406 from nealrichardson/install-arrow-binary and squashes the following commits: 767668c <Neal Richardson> Script fixes 4a1550e <Neal Richardson> LIBARROW_BINARY on should entail download_ok 4710500 <Neal Richardson> Update docs for new configure reality 660d0e7 <Neal Richardson> LIBARROW_DOWNLOAD is false by default now 3e02b72 <Neal Richardson> Reload the package if loaded already c731542 <Neal Richardson> Fix for the fix 42dc327 <Neal Richardson> Fix test setup e48ecbb <Neal Richardson> Docs e92f4b7 <Neal Richardson> Make these tests always run 87951bd <Neal Richardson> Update readme and add message e886116 <Neal Richardson> Delete README.Rmd (keep static README.md) bcd0237 <Neal Richardson> Update docs a459b49 <Neal Richardson> Switch var name to LIBARROW_BINARY 705d28a <Neal Richardson> Fix default value of LIBARROW_BINARY_DISTRO 7ff1365 <Neal Richardson> Change install_arrow() to actually install Authored-by: Neal Richardson <neal.p.richardson@gmail.com> Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
- Loading branch information
1 parent
7bcdbb3
commit 1a5cb56
Showing
11 changed files
with
193 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ Suggests: | |
hms, | ||
knitr, | ||
lubridate, | ||
pkgload, | ||
rmarkdown, | ||
testthat, | ||
tibble | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.