powered by
Execute checks in a test suite and return the TestFileResult object from executing the test. Optionally prints results of the test to console.
check(test_file, test_env, show_results)
The parsed test results for the suite
Path to a test file
An environment against which to run tests
Whether to print the results to stdout
if (FALSE) { check("tests/q1.R") }
Run the code above in your browser using DataLab