aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/inst/tests/test_includeJAR.R
diff options
context:
space:
mode:
authorYu ISHIKAWA <yuu.ishikawa@gmail.com>2015-07-05 20:50:02 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-07-05 20:50:02 -0700
commita0cb111b22cb093e86b0daeecb3dcc41d095df40 (patch)
tree69c36cbe3b1f13c65beff4b85ffdd671878ab0fc /R/pkg/inst/tests/test_includeJAR.R
parentf9c448dce8139e85ac564daa0f7e0325e778cffe (diff)
downloadspark-a0cb111b22cb093e86b0daeecb3dcc41d095df40.tar.gz
spark-a0cb111b22cb093e86b0daeecb3dcc41d095df40.tar.bz2
spark-a0cb111b22cb093e86b0daeecb3dcc41d095df40.zip
[SPARK-8549] [SPARKR] Fix the line length of SparkR
[[SPARK-8549] Fix the line length of SparkR - ASF JIRA](https://issues.apache.org/jira/browse/SPARK-8549) Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com> Closes #7204 from yu-iskw/SPARK-8549 and squashes the following commits: 6fb131a [Yu ISHIKAWA] Fix the typo 1737598 [Yu ISHIKAWA] [SPARK-8549][SparkR] Fix the line length of SparkR
Diffstat (limited to 'R/pkg/inst/tests/test_includeJAR.R')
-rw-r--r--R/pkg/inst/tests/test_includeJAR.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/pkg/inst/tests/test_includeJAR.R b/R/pkg/inst/tests/test_includeJAR.R
index 844d86f3cc..cc1faeabff 100644
--- a/R/pkg/inst/tests/test_includeJAR.R
+++ b/R/pkg/inst/tests/test_includeJAR.R
@@ -18,8 +18,8 @@ context("include an external JAR in SparkContext")
runScript <- function() {
sparkHome <- Sys.getenv("SPARK_HOME")
- jarPath <- paste("--jars",
- shQuote(file.path(sparkHome, "R/lib/SparkR/test_support/sparktestjar_2.10-1.0.jar")))
+ sparkTestJarPath <- "R/lib/SparkR/test_support/sparktestjar_2.10-1.0.jar"
+ jarPath <- paste("--jars", shQuote(file.path(sparkHome, sparkTestJarPath)))
scriptPath <- file.path(sparkHome, "R/lib/SparkR/tests/jarTest.R")
submitPath <- file.path(sparkHome, "bin/spark-submit")
res <- system2(command = submitPath,