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