use_tester {testthis} | R Documentation |
Use a tester function
Description
Quickly create an R script that contains a function for running all tests
in a predefined directory. This function powers the make_tester
option
of use_test_subdir()
and you will likely not need to run it manually.
Usage
use_tester(
path,
ignore = TRUE,
tester_path = file.path("R", "testthis-testers.R")
)
Arguments
path |
|
ignore |
|
tester_path |
|
Value
TRUE
on success (invisibly).
See Also
Other infrastructure:
use_test_subdir()
,
use_testdata()
[Package testthis version 1.1.1 Index]