aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/inst/tests/testthat/packageInAJarTest.R
diff options
context:
space:
mode:
authorSun Rui <rui.sun@intel.com>2016-03-13 14:30:44 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2016-03-13 14:30:44 -0700
commitc7e68c3968357268f705dee1477c448472c21547 (patch)
tree8c19086a3248bfe8538b1e1c3e9754225d0db64c /R/pkg/inst/tests/testthat/packageInAJarTest.R
parent515e4afbc7ec957609451ea75772d6ef1b914908 (diff)
downloadspark-c7e68c3968357268f705dee1477c448472c21547.tar.gz
spark-c7e68c3968357268f705dee1477c448472c21547.tar.bz2
spark-c7e68c3968357268f705dee1477c448472c21547.zip
[SPARK-13812][SPARKR] Fix SparkR lint-r test errors.
## What changes were proposed in this pull request? This PR fixes all newly captured SparkR lint-r errors after the lintr package is updated from github. ## How was this patch tested? dev/lint-r SparkR unit tests Author: Sun Rui <rui.sun@intel.com> Closes #11652 from sun-rui/SPARK-13812.
Diffstat (limited to 'R/pkg/inst/tests/testthat/packageInAJarTest.R')
-rw-r--r--R/pkg/inst/tests/testthat/packageInAJarTest.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/pkg/inst/tests/testthat/packageInAJarTest.R b/R/pkg/inst/tests/testthat/packageInAJarTest.R
index 207a37a0cb..c26b28b78d 100644
--- a/R/pkg/inst/tests/testthat/packageInAJarTest.R
+++ b/R/pkg/inst/tests/testthat/packageInAJarTest.R
@@ -25,6 +25,6 @@ run2 <- myfunc(-4L)
sparkR.stop()
-if(run1 != 6) quit(save = "no", status = 1)
+if (run1 != 6) quit(save = "no", status = 1)
-if(run2 != -3) quit(save = "no", status = 1)
+if (run2 != -3) quit(save = "no", status = 1)