View source: R/run_autograder.R
run_autograder | R Documentation |
Run autograder in a Gradescope container and return the results as a properly-formatted JSON string.
run_autograder(script_path, ignore_errors, test_dir)
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 |
The JSON string
## Not run:
run_autograder("hw01.R", "ABC123", TRUE, "tests")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.