View source: R/learnitdown_learnr.R
checker_ack_learnr | R Documentation |
Check code submitted during an exercise. This version just acknowledges reception of the submission. This function is used internally by the tutorials and is not intended for the end-user.
checker_ack_learnr(
label,
user_code,
solution_code,
check_code,
envir_result,
evaluate_result,
...
)
label |
The label for the learnr exercise. |
user_code |
The code submitted by the user. |
solution_code |
The code provided by the "-solution" chunk. |
check_code |
The code provided by the "-check" chunk. |
envir_result |
The environment after the execution of the chunk. |
evaluate_result |
Result from evaluation of the code. |
... |
Additional parameters (currently not used). |
This is a simple checker function for learnitdown learnr applications that just indicates to the user that its answer is taken into account.
A list with components message
, correct
and location
.
record_learnr()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.