Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


testthat (version 0.11.0)

source_dir: Load all source files in a directory.

Description

The expectation is that the files can be sourced in alphabetical order.

Usage

source_dir(path, pattern = "\.[rR]$", env = test_env(), chdir = TRUE)

Arguments

path
path to tests
pattern
regular expression used to filter files
env
environment in which to store results
chdir
change working directory to path?