The command will be put at the top of a student's problem set. It checks all exercises when the problem set is sourced. If something is wrong, an error is thrown and no more commands will be sourced.
1 2 3 4 | check.problem.set(ps.name, stud.path, stud.short.file, reset = FALSE,
set.warning.1 = TRUE, user.name = "GUEST", do.check = interactive(),
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.