The command will rerun and check all chunks of your problem set and grade it, i.e. it determines which tests are passed or not. The results are stored in a submission file: psname___username.sub, which will be part of the submitted solution. The function works similarly than check.problem.set, but makes sure that all exercies are checked.
1 2 3 4 5 | make.submission(ps = get.ps(), user.name = get.user()$name,
ps.name = ps$name, stud.path = ps$stud.path,
stud.short.file = ps$stud.short.file, reset = TRUE,
set.warning.1 = TRUE, verbose = FALSE, catch.errors = TRUE,
from.knitr = !interactive(), use.null.device = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.