Description Author(s) Examples
Performs unit tests defined in this package by running
example(unitTests.PhGcode)
. Tests are in runit*.R
files located
in the '/unitTests' subdirectory or one of its subdirectories ('/inst/unitTests'
and subdirectories in package sources).
Philippe Grosjean (phgrosjean@sciviews.org)
1 2 3 4 5 6 7 8 9 10 11 12 13 | if (require(svUnit)) {
clearLog()
## Not run:
## This test is now moved to the tests directory
runTest(svSuite("package:PhGcode"), "PhGcode")
## End(Not run)
## Check errors at the end (needed to interrupt R CMD check)
errorLog()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.