unitTests.PhGcode: Unit tests for the package PhGcode

Description Author(s) Examples

Description

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).

Author(s)

Philippe Grosjean (phgrosjean@sciviews.org)

Examples

 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()
}

phgrosjean/R-code documentation built on May 25, 2019, 2:55 a.m.