Learn R Programming

testthat (version 0.11.0)

source_test_helpers: Source the helper scripts if any.

Description

Helper scripts are R scripts accompanying test scripts but prefixed by helper. These scripts are sourced only one time in test environment.

Usage

source_test_helpers(path, env = globalenv())

Arguments

path
path to tests
env
environment in which to execute test suite.