Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Set overwrite=T when install SparkR in tests
  • Loading branch information
shivaram committed Dec 23, 2017
commit 6edbd710d0b73a7c4170dbb78eb42ace5a8c73a0
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