Skip to contents

Writes the template stored in the project's grading database to a YAML file (the optional import/export format). This is the inverse of template_import().

Usage

template_export(path, project = ".")

Arguments

path

Output path for the template .yaml file.

project

Path to the project directory. Defaults to the working directory.

Value

The output path, invisibly.

Examples

if (FALSE) { # \dontrun{
template_export("hw01-template.yaml", project = "hw01")
} # }