aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/tests/run-all.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/pkg/tests/run-all.R')
-rw-r--r--R/pkg/tests/run-all.R3
1 files changed, 3 insertions, 0 deletions
diff --git a/R/pkg/tests/run-all.R b/R/pkg/tests/run-all.R
index 4f8a1ed2d8..1d04656ac2 100644
--- a/R/pkg/tests/run-all.R
+++ b/R/pkg/tests/run-all.R
@@ -18,4 +18,7 @@
library(testthat)
library(SparkR)
+# Turn all warnings into errors
+options("warn" = 2)
+
test_package("SparkR")