Skip to contents

Used by parse_question().

Usage

parse_answers(doc, meta, abstain = NULL)

Arguments

doc

xml_document of HTML generated with rmarkdown::render().

meta

List of library(exams) metadata with extype, exsolution, ...

abstain

Text for an optional extra option (!) like "I wish to leave this question unanswered". Relevant where the exam system does not allow a test-taker to unselect all options.

Value

List of lists representing Answer objects.