R: Return the path to one of the packages in the devtools test...

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.0.1 Index]