build_pd | Build ParseData from string representing code |
check_chunk | Check markdown code chunk |
check_code | Test the student's code as text |
check_control | Check whether student coded a control statement correctly |
check_equal.MarkdownChunkOptionState | Check equality of markdown code chunk option |
check_equal.MarkdownYamlOptionState | Check equality of markdown YAML header option |
check_error | Explicitly check whether the student's submission threw an... |
check_function | Check whether a student correctly called a function/operator |
check_function_result | Check the result of a function call/operation |
check_fun_def | Check whether the student defined a function correctly |
check_ggplot | Test ggplot call |
check_header | Check markdown header |
check_library | Check whether the library function was called correctly |
check_logic | Combine tests |
check_mc | Test a multiple choice exercise |
check_option.MarkdownChunkState | Check markdown code chunk option |
check_option.MarkdownYamlState | Check markdown YAML header option |
check_output | Check whether the student printed something to the console |
check_predefined_objects | Test predefined R objects |
check_rmd | Check markdown file |
check_that | Expectation wrapper |
check_title | Check markdown header title |
check_wd | Check whether a file exists |
check_yaml | Check markdown YAML header |
compare | Check if object is true, false, >= or <. |
disable_highlighting | Disable highlighting for any future checks in the chain |
ex | Get the main state |
get_num_hits | Get the number of hits for a series of regexes |
is_equal | Check equality of two objects |
override | Functions to override solution code (and parse data) and... |
reexports | Objects exported from other packages |
run_until_fail | Run SCT until it fails |
s3defs | S3 definitions |
setup_state | Set up state for local experimentation. |
state | testwhat states. |
success_msg | Define the success message |
test_chunk_options | Check whether the student defined the correct chunk options... |
test_exercise | Run all tests for an exercise |
test_expr | Check the result, output or errors thrown by an expression |
test_object | Check R object existence and value |
test_pipe | Check whether a student used the pipe operator sufficiently... |
test_props | Check whether the student used the correct properties (ggvis... |
test_rmd_group | Test a single R Markdown file group (R Markdown exercises) |
test_text | Test inline text and formatting (Markdown) |
testwhat_learnr | A checker function to use with learnr |
test_yaml_header | Check yaml header (Markdown) |
tw | tw singleton object to access data across SCT chains. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.