Commonly used functions |
|
---|---|
Check markdown code chunk |
|
Test the student's code as text |
|
|
Check whether student coded a control statement correctly |
Check equality of markdown code chunk option |
|
Check equality of markdown YAML header option |
|
Explicitly check whether the student's submission threw an error. |
|
|
Check whether the student defined a function correctly |
|
Check whether a student correctly called a function/operator |
|
Check the result of a function call/operation |
Check markdown header |
|
Check whether the library function was called correctly |
|
Combine tests |
|
Test a multiple choice exercise |
|
Check markdown code chunk option |
|
Check markdown YAML header option |
|
Check whether the student printed something to the console |
|
Test predefined R objects |
|
Check markdown file |
|
Expectation wrapper |
|
Check markdown header title |
|
Check whether a file exists |
|
Check markdown YAML header |
|
S3 definitions |
|
|
Check the result, output or errors thrown by an expression |
|
Check R object existence and value |
Define the success message |
|
|
Functions to override solution code (and parse data) and variables in the solution environment. |
Disable highlighting for any future checks in the chain |
|
Checking markdown |
|
Check markdown file |
|
Check markdown header |
|
Check markdown code chunk |
|
Check markdown code chunk option |
|
Check equality of markdown code chunk option |
|
Check markdown YAML header |
|
Check markdown YAML header option |
|
Check equality of markdown YAML header option |
|
Internals |
|
Build ParseData from string representing code |
|
Check if object is true, false, >= or <. |
|
Get the main state |
|
Get the number of hits for a series of regexes |
|
Check equality of two objects |
|
Run SCT until it fails |
|
Set up state for local experimentation. |
|
testwhat states. |
|
Run all tests for an exercise |
|
tw singleton object to access data across SCT chains. |
|
A checker function to use with learnr |