R: Locate file in testing directory.

test_path {testthat} | R Documentation

## Locate file in testing directory.

### Description

This function is designed to work both interatively and during tests, locating files in the `tests/testthat` directory

### Usage

    test_path(...)

### Arguments

`...` | Character vectors giving path component.

### Value

A character vector giving the path. An error will be thrown if the path doesn't exist.

[Package testthat version 1.0.2 Index]