Displaying 1 result from an estimated 1 matches for "pathreport".
Did you mean:
datareport
2006 Aug 05
1
R CMD check and RUnit
...---
library("PKG")
testDir <- "unitTests"
path <- "../PKG"
## Path for standalone i.e. not by R CMD check testing
if(Sys.getenv("RCMDCHECK") == "FALSE") path <- "../inst"
path <- file.path(getwd(), path, testDir)
pathReport <- file.path(path, "report")
## --- Testing ---
## Define tests
testsuite.PKG <- defineTestSuite(name="PKG unit testing",
dirs=path)
## Run
tests <- runTestSuite(testsuite.PKG)
## Print results
printTextProtocol(tests)...