For a file path to a quiz, check whether it is properly formatted for Leanpub.
check_quiz(quiz_path, verbose = TRUE)
quiz_path | A file path to a quiz markdown file |
---|---|
verbose | print diagnostic messages? TRUE/FALSE |
A list of checks. "good" means the check passed. Failed checks will report where it failed.
# Take a look at a good quiz's checks: quiz_path <- good_quiz_path() good_checks <- check_quiz(quiz_path)#> #>#>#>#>#># Take a look at a failed quiz's checks: quiz_path <- good_quiz_path() failed_checks <- check_quiz(quiz_path)#> #>#>#>#>#>