I tried to run the example file "learnr_questions.Rmd" that comes as an example in exams2learnr package. The chunk:
exams2learnr("swisscapital.Rmd", allow_retry = TRUE, incorrect = "Incorrect, try again.")
generates "Invalid 'definition' argument" error. What am I doing wrong?