Description Usage Arguments Value
Exercise files contain a number of '?' markers that should be filled in by the user. R interprets these as variables named ‘?', which of course don’t exist. Given the lines (as character vectors) of the exercise file, raises an informative error if any of those placeholders aren't filled in.
1 | check_placeholders(file_lines)
|
file_lines |
character vector of exercise file lines |
a list containing: - 'success': logical value indicating whether the check succeeded - 'msg': character value indicating the success/failure message
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.