Create test zip file with one task xml file from Rmd (md) description
Source:R/object_builder.R
rmd2zip.RdCreate zip file with test, that contains one xml question specification generated from Rmd (md) description according to qti 2.1 information model Display names follow task_names: the YAML title by default, or the source filename without its extension when no title is supplied.
Usage
rmd2zip(file, path = getwd(), verification = FALSE, task_names = NULL)Arguments
- file
A string of path to file with markdown description of question.
- path
A string, optional; a folder to store xml file. Default is working directory.
- verification
A boolean value, optional; enable validation of the xml file. Default is
FALSE.- task_names
Display naming policy:
"title","filename","both", or"hidden".NULLuses optionrqti.task_names, falling back to"title". See task_names.