tests/tinytest.R

if (requireNamespace("tinytest", quietly = TRUE) &&
    utils::packageVersion("tinytest") >= "1.1.0") {

    ## Set a seed to make the test deterministic
    set.seed(808)

    tinytest::test_package("intsurv",
                           ncup = getOption("Ncpus", 1),
                           side_effects = TRUE)
}

Try the intsurv package in your browser

Any scripts or data that you put into this service are public.

intsurv documentation built on Jan. 13, 2021, 3:46 p.m.