# 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
if (FALSE) {
source( system.file("unitTests", "runTests.R", package = "Rcpp" ) )
}
Run the code above in your browser using DataLab