Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 667 Bytes
\title{Execute all \pkg{test_that} tests in a package.}
test(pkg = ".", filter = NULL)
\item{pkg}{package description, can be path or package
name. See \code{\link{as.package}} for more information}
\item{filter}{If not \code{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 \code{"test-"} and \code{".r"}.}
Tests are assumed to be located in a \code{inst/tests/}
directory. See \code{\link[testthat]{test_dir}} for the
naming convention of test scripts within that directory.
Something went wrong with that request. Please try again.