Description Usage Arguments Value
This version of the file check is completed when the trainr project type is "shiny". Checks the lines passed in as R code and outputs the results as 'message()'s, with '<span>'s for HTML formatting.
1 | check_exercise_shiny(lines, test_lines)
|
lines |
character vector of exercise code lines |
test_lines |
character vector of original test lines |
a list containing: 'success' a boolean indicating whether the code was evaluated successfully and passed all tests 'msg' a character vector of HTML formatted messages generated while evaluating the code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.