debug_exercise_checker {learnr} | R Documentation |
An Exercise Checker for Debugging
Description
An exercise checker for debugging that renders all of the expected arguments
of the exercise.checker
option into HTML. Additionally, this function is
used in testing of evaluate_exercise()
.
Usage
debug_exercise_checker(
label,
user_code,
solution_code,
check_code,
envir_result,
evaluate_result,
envir_prep,
last_value,
engine,
...
)
Arguments
label |
Exercise label |
user_code |
Submitted user code |
solution_code |
The code in the |
check_code |
The checking code that originates from the |
evaluate_result |
The return value from |
envir_prep , envir_result |
The environment before running user code
( |
last_value |
The last value after evaluating |
engine |
The engine of the exercise chunk |
... |
Not used (future compatibility) |
Value
Feedback for use in exercise debugging.
[Package learnr version 0.11.5 Index]