source_dir {testthat} | R Documentation |
The expectation is that the files can be sourced in alphabetical order.
source_dir(path, pattern="\\.[rR]$", env = NULL, chdir=TRUE)
path |
path to tests |
pattern |
regular expression used to filter files |
env |
environment in which to execute test suite. Defaults to new |
chdir |
change working directory to path? |