CheckCollector: An R6 class for collecting TestFileResult objects during...

CheckCollectorR 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.


ucbds-infra/ottr documentation built on Feb. 24, 2024, 2:31 a.m.