Skip to content

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")
}