run_autograder {ottr} | R Documentation |
Grade an R script against test files in a directory
Description
Run autograder in a Gradescope container and return the results as a properly-formatted JSON string.
Usage
run_autograder(script_path, ignore_errors, test_dir)
Arguments
script_path |
The path to the script |
ignore_errors |
Whether to ignore errors thrown while executing the script |
test_dir |
A directory of tests to glob from |
Value
The JSON string
Examples
## Not run:
run_autograder("hw01.R", "ABC123", TRUE, "tests")
## End(Not run)
[Package ottr version 1.5.0 Index]