Commits

Neal Richardson authored 1a5cb5617bd
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: 767668c0a <Neal Richardson> Script fixes 4a1550ed7 <Neal Richardson> LIBARROW_BINARY on should entail download_ok 471050053 <Neal Richardson> Update docs for new configure reality 660d0e7cb <Neal Richardson> LIBARROW_DOWNLOAD is false by default now 3e02b72e6 <Neal Richardson> Reload the package if loaded already c731542d6 <Neal Richardson> Fix for the fix 42dc32763 <Neal Richardson> Fix test setup e48ecbbf1 <Neal Richardson> Docs e92f4b7da <Neal Richardson> Make these tests always run 87951bd7e <Neal Richardson> Update readme and add message e8861163b <Neal Richardson> Delete README.Rmd (keep static README.md) bcd0237cb <Neal Richardson> Update docs a459b49ac <Neal Richardson> Switch var name to LIBARROW_BINARY 705d28a49 <Neal Richardson> Fix default value of LIBARROW_BINARY_DISTRO 7ff136510 <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>