View source: R/RtestingHelpers.R
runPackageTests | R Documentation |
This is a convenience function to call runTests()
on the test folder of an R-package. The tests are assumed to have been installed with installPackageTests
before. The package must be loaded via library
before calling this function.
runPackageTests(packageName, packageDir, isolateSession = TRUE, useGit = FALSE)
packageName |
name of the R-package to be tested. Uses |
packageDir |
alternatively to |
isolateSession |
boolean to indicate whether tests should be run in seperate R session |
useGit |
boolean to indicate whether git commit should be ran on the testFolder after running tests |
value of runTests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.