CheckCollector {ottr} | R Documentation |
An R6 class for collecting TestFileResult objects during grading.
Description
A collection of test file results created while grading an assignment
Public fields
test_file_results
The TestFileResult objects created during grading
Methods
Public methods
Method new()
Create a CheckCollector. Add a TestFileResult to this collector.
Usage
CheckCollector$new()
Method add_result()
Usage
CheckCollector$add_result(test_file_result)
Arguments
test_file_result
The TestFileResult to add Retrieve the list TestFileResult objects stored in this collector.
Method get_results()
Usage
CheckCollector$get_results()
Returns
The list of TestFileResult objects
Method clone()
The objects of this class are cloneable with this method.
Usage
CheckCollector$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
[Package ottr version 1.5.0 Index]