tests/testthat.R

library(testthat)
library(heRomod)

## the Sys.setenv fixes a problem running tests
##   with parallel processing; related to
##   https://github.com/hadley/testthat/issues/86 and
##   https://github.com/hadley/testthat/issues/144

Sys.setenv("R_TESTS" = "")

test_check("heRomod")
PolicyAnalysisInc/heRoMod documentation built on March 23, 2024, 4:29 p.m.