Description Usage Arguments Value
Runs the R code, ensuring all tests pass
1 | check_tests(file_lines, proj_path = getwd())
|
file_lines |
character vector of exercise file lines |
proj_path |
path to the project folder, optional |
a list containing: - 'success': logical value indicating whether the check succeeded - 'msg': character value indicating the success/failure message - 'output': character vector of the lines of test output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.