Skip to content
Permalink
Browse files
Fix C++ version (#36)
  • Loading branch information
thisisnic committed Aug 13, 2021
1 parent f4e5a81 commit 02bbd0e0d8b09798b6d048b3fb7428c299024834
Showing 1 changed file with 5 additions and 0 deletions.
@@ -59,6 +59,11 @@ load_package <- function(pkg) {
#' @param version_to_install The version to install. Default is latest CRAN version.
install_arrow_version <- function(version_to_install) {

# Unset the ARROW_HOME environment variable so we build the correct C++
old_home <- Sys.getenv("ARROW_HOME")
Sys.setenv("ARROW_HOME" = "")
on.exit(Sys.setenv("ARROW_HOME" = old_home))

# TODO: refactor this to get the latest available version on the nightlies
# given we set NOT_CRAN = TRUE (#29)
latest_release <- package_version(available.packages()["arrow", ]["Version"])

0 comments on commit 02bbd0e

Please sign in to comment.