Skip to content

Commit

Permalink
Set overwrite=T when install SparkR in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaram committed Dec 23, 2017
1 parent d23dc5b commit 6edbd71
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/pkg/tests/run-all.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ if (.Platform$OS.type == "windows") {

# Setup global test environment
# Install Spark first to set SPARK_HOME
install.spark()

# NOTE(shivaram): We set overwrite to handle any old tar.gz files or directories left behind on
# CRAN machines. For Jenkins we should already have SPARK_HOME set.
install.spark(overwrite = TRUE)

sparkRDir <- file.path(Sys.getenv("SPARK_HOME"), "R")
sparkRWhitelistSQLDirs <- c("spark-warehouse", "metastore_db")
Expand Down

0 comments on commit 6edbd71

Please sign in to comment.