I use Sweave (Rnw) questions using exams2moodle() from R/exams. All works fine except when I'm trying to use dropdown question for schoice or mchoice questions. Following the manual I try to use the option cloze_mchoice_display = "MULTICHOICE", but that does not work.
I include an example Rnw exercise along with my R code below.
\begin{question}
Which is a parameter?
\begin{answerlist}
\item population mean.
\item sample mean.
\item sample variance.
\item sample mode.
\item sample standard deviation.
\item population mode
\end{answerlist}
\end{question}
%% \expoints{5}
%% \extype{mchoice}
%% \exsolution{100001}
%% \exshuffle{5}
Replication code:
library("exams")
exams2moodle("cloze_dropdown.Rnw", n=3, name = "dropdown")
make_question_moodle(cloze_mchoice_display = "MULTICHOICE")