pkgtest | R Documentation |
devtools comes with some simple packages for testing. This function returns the path to them.
pkgtest(package)
package |
Name of the test package. |
if (has_tests()) {
pkgtest("testData")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.