inst/test_suite/small_pmaxT_test_suite.R

library("RUnit")
library("multtest")

for (nm in list.files("../unitTests/pmaxT/", pattern = "\\.[Rr]$")){
  source(file.path("../unitTests/pmaxT/", nm))
}
library("sprint")
test.suite <- defineTestSuite("pmaxT", dirs = file.path("../unitTests/pmaxT/"),testFileRegexp = 'runit_small_test.R')

# === Set up finished ===

test.result <- runTestSuite(test.suite)
printTextProtocol(test.result)

pterminate()
quit()

Try the sprint package in your browser

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

sprint documentation built on May 30, 2017, 8:25 a.m.