Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (14 sloc) 0.403 kB
befdb3b Basic structure and functions
hadley authored
1 library(RUnit)
2 FILE <- (function() {
3 attr(body(sys.function()), "srcfile")
4 })()$filename
5 PATH <- dirname(FILE)
6 source(file.path(PATH, "load.r"))
7
8 testSuite <- defineTestSuite(
5f1ac39 @hadley Actually run tests during R CMD check
authored
9 dirs=file.path(PATH, "inst/tests"),
befdb3b Basic structure and functions
hadley authored
10 name=paste("plyr unit tests"),
11 testFileRegexp = "\\.runit$",
12 testFuncRegexp = "^test"
13 )
14 capture.output(tests <- runTestSuite(testSuite))
15 printTextProtocol(tests, showDetails=FALSE)
Something went wrong with that request. Please try again.