R: An R Autograding Extension for Otter-Grader

# An R Autograding Extension for Otter-Grader

## Documentation for package ‘ottr’ version 1.5.0

- DESCRIPTION file.

## Help Pages

check | Run the test cases in a test file
CheckCollector | An R6 class for collecting TestFileResult objects during grading.
collector_env | An environment into which a collector will be initialized (so we don't need to update global variables).
collector_varname | The name of the active collector variable in collector_env
execute_script | Generate an environment from an R script
export | Export a submission to a zip file
get_collector | Retrieve the global CheckCollector
grade_script | Grade an R script against a series of test files
GradingResults | An R6 class representing a collection of test case results
initialize_collector | Create a new global CheckCollector
load_test_cases | Load test cases from a test file
running_on_jupyter | Determine whether this R session is running on Jupyter.
run_autograder | Grade an R script against test files in a directory
save_notebook | Attempt to save the current notebook.
TestCase | An R6 class representing a test case
TestCaseResult | An R6 representing the results of running a test case
TestFileResult | An R6 class representing a collection of test case results
update_ast_check_calls | Collect results of calls to 'ottr::check' in an AST
valid_syntax | Check whether a string is valid R code