tests/runalltests.R

library("RUnit")

options(warn=1)

dirs <- 'unit'

testFilePat <- ".*_test\\.R$"

allSuite <- defineTestSuite(name="allSuite",
                            dirs=dirs,
                            testFileRegexp=testFilePat,
                            rngKind="default",
                            rngNormalKind="default"
                            )

testData <- runTestSuite(allSuite)

printTextProtocol(testData, showDetails=TRUE)

#q(runLast=FALSE)

Try the clst package in your browser

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

clst documentation built on Nov. 8, 2020, 5:41 p.m.