inst/unitTests/runTests.R

pkg <- "rstpm2"
require(RUnit, quietly = TRUE)
library(package = pkg, character.only = TRUE)
## path <- system.file("unitTests", package = pkg)
path <- "c:/usr/src/R/rstpm2/inst/unitTests"
testSuite <- defineTestSuite(name=paste(pkg, "unit testing"),
                             dirs=path)

tests <- runTestSuite(testSuite)
mclements/rstpm2 documentation built on Feb. 5, 2023, 8 p.m.