powered by
Create XML file for question specification from Rmd (md) description according to qti 2.1 infromation model
rmd2xml(file, path = getwd(), verification = FALSE)
The path string to the xml file.
A string of path to file with markdown description of question.
A string, optional; a folder to store xml file. Default is working directory.
A boolean value, optional; enable validation of the xml file. Default is FALSE.
FALSE
if (FALSE) { # creates folder with xml (side effect) rmd2xml("task.Rmd", "target_folder", TRUE) }
Run the code above in your browser using DataLab