tests/testthat.R

library(testthat)
library(heemod)

## 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("heemod")
pierucci/heemod documentation built on July 17, 2022, 9:27 p.m.