Skip to contents

Parses a marks YAML file into the marks list structure used by marks_import() and write_marks_yaml(). Rubric items are identified by their description text, which must match the question's rubric verbatim; the match itself is performed (and validated) by marks_import(), not here.

Usage

read_marks_yaml(path)

Arguments

path

Path to a marks .yaml/.yml file.

Value

A marks list: format_version plus repos, each with name and questions, each question with name, items (a character vector of rubric item descriptions) and comment / private_comment (a string, or NULL when the file omits it).