The exercise tutorial to the learnr
package refers to the checkr
packages:
The checkr package currently provides code checking functions that are compatible with learnr.
(Be aware that this reference does not point to the CRAN package checkr. Unfortunately, there is a duplicate package name.)
But in the learnr
tutorial there is no advice how to use it together with checkr
. On the other hand, the vignette in checkr
is still a draft version, discusses advanced issues and is lacking an easy example in relation to learnr
.
What I am looking for is a concrete procedure of a model example. For instance: How to check student input with the two-plus-two
example, provided by the learnr
R Markdown template "Interactive Tutorials".
So my question is: How to check with learnr
the R code required to add two plus two using the checkr
package?
Maybe this questions should use new tags (learnr
and checkr
) but I do not have the privileges to do so.