RcppUnitTests: Rcpp : unit tests results

Description Details See Also Examples

Description

Unit tests results for package Rcpp.

Unit tests are run automatically at build time and reports are included in the doc directory as html or text.

Details

1
2
3
4
\Sexpr[echo=FALSE,results=text]{ 
txt <- system.file( "doc", "unitTests-results", "Rcpp-unitTests.txt", package = "Rcpp" )
if( file.exists( txt ) ) paste( readLines( txt ), collapse = "\n\n" ) else ""
}

See Also

../doc/unitTests-results/Rcpp-unitTests.html: html formatted unit test report

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# unit tests are in the unitTests directory of the package
list.files( system.file("unitTests", package = "Rcpp" ), 
	pattern = "^runit", full = TRUE )

# trigger the unit tests preparation, follow printed instructions
# on how to run them
## Not run: 
source( system.file("unitTests", "runTests.R", package = "Rcpp" ) )

## End(Not run)

Rcpp documentation built on May 2, 2019, 5:23 p.m.