tests/testthat.R

library(testthat)
library(heemod)
library(heemodFits)
library(flexsurv)

## 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("heemodFits")
MattWiener/heemodFits documentation built on May 19, 2019, 8:21 a.m.