View source: R/rstudio-test-chunk-options.R
test_chunk_options | R Documentation |
Check whether the student defined the correct chunk options in an R Markdown exercise
test_chunk_options(options = NULL, not_called_msg = NULL, incorrect_msg = NULL)
options |
Set of options |
not_called_msg |
feedback message if option was not specified |
incorrect_msg |
feedback message if option was incorrectly set |
This test can only be called inside a test_rmd_group() call!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.