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)

Try the rstpm2 package in your browser

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

rstpm2 documentation built on Sept. 21, 2017, 1:03 a.m.