View source: R/quiz_formatting.R
check_quizzes | R Documentation |
Check the formatting of all quizzes in a given directory.
check_quizzes(
path = ".",
quiz_dir = "quizzes",
write_report = TRUE,
verbose = TRUE,
ignore_coursera = TRUE
)
path |
path to the top of course repository (looks for .github folder) |
quiz_dir |
A path to a directory full of quizzes that should all be checked with [ottrpal::check_all_quizzes]. |
write_report |
TRUE/FALSE save warning report to a CSV file? |
verbose |
print diagnostic messages |
ignore_coursera |
Coursera doesn't like '!' or ':' in the quizzes. Do not convert quizzes to coursera and ignore ! and : in question prompts that would not be allowed in Leanpub quizzes when converted to a Coursera quiz. Default is to ignore Coursera compatibility |
A list checks performed on each quiz
## Not run:
## Make a temporary quiz directory
quiz_dir <- dirname(good_quiz_path())
## Now check the quizzes in that directory
all_quiz_results <- check_quizzes(quiz_dir = quiz_dir)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.