Learn R Programming

rqti (version 1.0.0)

rmd2xml: Create qti-XML task file from Rmd (md) description

Description

Create XML file for question specification from Rmd (md) description according to qti 2.1 infromation model

Usage

rmd2xml(file, path = getwd(), verification = FALSE)

Value

The path string to the xml file.

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.

Examples

Run this code
if (FALSE) {
# creates folder with xml (side effect)
rmd2xml("task.Rmd", "target_folder", TRUE)
}

Run the code above in your browser using DataLab