Skip to content

Commit

Permalink
set RNG version
Browse files Browse the repository at this point in the history
  • Loading branch information
brodieG committed Mar 13, 2019
1 parent 119ebb7 commit b29e51c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/run.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
cat(getwd(), "\n")
if(suppressWarnings(require('unitizer'))) {
RNGversion("3.5.2");
unitize_dir('unitizer', state='recommended')
RNGversion(as.character(getRversion()))
} else {
warning("Cannot run tests without package `unitizer`")
}
Expand Down

0 comments on commit b29e51c

Please sign in to comment.