grade_script {ottr} | R Documentation |
Grade an R script against a series of test files
Description
Execute a script, parse check outputs, and run additional tests specified by the
glob pattern tests_glob
on the test environment.
Usage
grade_script(script_path, tests_glob, ignore_errors)
Arguments
script_path |
The path to the script |
tests_glob |
The pattern to search for extra tests |
ignore_errors |
Whether to ignore errors thrown while executing the script |
Value
The GradingResults object after executing tests referenced in the script
and those specified by tests_glob
[Package ottr version 1.5.0 Index]