aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohannes Ranke <johannes.ranke@jrwb.de>2015-06-20 17:53:54 +0200
committerJohannes Ranke <johannes.ranke@jrwb.de>2015-06-20 17:53:54 +0200
commitb0fe6dead1fe891d6b05bf70c0b990c2edc2d9f7 (patch)
tree12222a7dcdd5e12f51fa3a6ccdf8de615c49ff9f /tests
parent35ff2c2e7154b5d66a6b33e77d3f4f40282df3c2 (diff)
Workaround for hadley/testthat#144
Diffstat (limited to 'tests')
-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