testthat (version 1.0.2)

test_path: 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.