aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/testthat.R4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testthat.R b/tests/testthat.R
index 01c9b7cd..2eb2c8c3 100644
--- a/tests/testthat.R
+++ b/tests/testthat.R
@@ -1,3 +1,7 @@
+# Unsetting R_TESTS is a workaround for an R bug, see
+# http://github.com/hadley/testthat/issues/144
+# Should be removed once the issue is resolved
+Sys.setenv("R_TESTS" = "")
library(testthat)
library(mkin)

Contact - Imprint