aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/inst/tests/test_binary_function.R
diff options
context:
space:
mode:
authorSun Rui <rui.sun@intel.com>2015-07-14 22:21:01 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-07-14 22:21:01 -0700
commitf650a005e03ecd800c9005a496cc6a0d8eb68c93 (patch)
tree8d0e7ad02e907e16eef6c2126cefd214edde9578 /R/pkg/inst/tests/test_binary_function.R
parent5572fd0c518acd2e4483ff41bea1eb1cffd543ce (diff)
downloadspark-f650a005e03ecd800c9005a496cc6a0d8eb68c93.tar.gz
spark-f650a005e03ecd800c9005a496cc6a0d8eb68c93.tar.bz2
spark-f650a005e03ecd800c9005a496cc6a0d8eb68c93.zip
[SPARK-8808] [SPARKR] Fix assignments in SparkR.
Author: Sun Rui <rui.sun@intel.com> Closes #7395 from sun-rui/SPARK-8808 and squashes the following commits: ce603bc [Sun Rui] Use '<-' instead of '='. 88590b1 [Sun Rui] Use '<-' instead of '='.
Diffstat (limited to 'R/pkg/inst/tests/test_binary_function.R')
-rw-r--r--R/pkg/inst/tests/test_binary_function.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/pkg/inst/tests/test_binary_function.R b/R/pkg/inst/tests/test_binary_function.R
index 3be8c65a6c..dca0657c57 100644
--- a/R/pkg/inst/tests/test_binary_function.R
+++ b/R/pkg/inst/tests/test_binary_function.R
@@ -76,7 +76,7 @@ test_that("zipPartitions() on RDDs", {
expect_equal(actual,
list(list(1, c(1,2), c(1,2,3)), list(2, c(3,4), c(4,5,6))))
- mockFile = c("Spark is pretty.", "Spark is awesome.")
+ mockFile <- c("Spark is pretty.", "Spark is awesome.")
fileName <- tempfile(pattern="spark-test", fileext=".tmp")
writeLines(mockFile, fileName)