devtools comes with some simple packages for testing. This function returns the path to them.
Examples
if (has_tests()) {
pkgtest("testData")
}
devtools comes with some simple packages for testing. This function returns the path to them.
if (has_tests()) {
pkgtest("testData")
}