View source: R/RtestingHelpers.R
installPackageTests | R Documentation |
Takes pathes to test files and installs these tests in an R-package. Also creates required expectation files.
installPackageTests(
packageDir,
testPathes,
createReference = TRUE,
asCran = FALSE
)
packageDir |
path to R-package folder structure |
testPathes |
character vector with files containing tests of the package |
createReference |
boolean to indicate whether a reference output is to be created for R when the package tests are run by standard R functions. |
asCran |
boolean to indicate whether tests should be prepared for running on CRAN |
undefined return value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.