devtools (version 1.6.1)

devtest: 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

devtest(package)

Arguments

package
Name of the test package.

Examples

Run this code
if (has_tests()) {
devtest("testData")
}

Run the code above in your browser using DataCamp Workspace