Checks that a cloze question list is correctly structured for use in
fillBlanks. Validates required fields, cloze markers, and
optional additional options.
Arguments
- x
A named list with at least the following element:
- cloze
A character string containing the cloze text with blank markers. Each blank must be enclosed between
$$!(opening tag) and!$$(closing tag), e.g."R is a $$!programming!$$ language".- addOptions
(optional) A character vector of additional distractor options displayed as answer choices alongside the correct answers.
See also
fillBlanks which calls this function internally.
