inst/unitTests/runalltests.R

library("RUnit")

options(warn=1)

testSuite <- defineTestSuite(name="RUnit",
                            dirs=".",
                            testFileRegexp="runit.*\\.r$",
                            rngKind="default",
                            rngNormalKind="default")

testData <- runTestSuite(testSuite, verbose=0L)
printTextProtocol(testData, showDetails=FALSE)

Try the RUnit package in your browser

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

RUnit documentation built on May 1, 2019, 6:30 p.m.