Skip to content

Commit

Permalink
add Sys.setenv("R_TESTS" = "") as tests would run without error inter…
Browse files Browse the repository at this point in the history
…actively but would fail when switching to devtools::check(); workaround found in r-lib/testthat#86 (comment)
  • Loading branch information
curtisalexander committed Jul 6, 2016
1 parent 236c410 commit 347b6e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
library(testthat)
library(CRAmisc)

Sys.setenv("R_TESTS" = "")
test_check("CRAmisc")

0 comments on commit 347b6e6

Please sign in to comment.