pkgtest {pkgload} | R Documentation |
Return the path to one of the packages in the devtools test dir
Description
devtools comes with some simple packages for testing. This function returns the path to them.
Usage
pkgtest(package)
Arguments
package |
Name of the test package. |
Examples
if (has_tests()) {
pkgtest("testData")
}
[Package pkgload version 1.3.4 Index]