devtools (version 0.7.1)

test: Execute all test_that tests in a package.

Description

Tests are assumed to be located in a inst/tests/ directory. See test_dir for the naming convention of test scripts within that directory.

Usage

test(pkg = NULL, filter = NULL)

Arguments

pkg
package description, can be path or package name. See as.package for more information
filter
If not NULL, only tests with file names matching this regular expression will be executed. Matching will take on the file name after it has been stripped of "test-" and ".r".