debug_exercise_checker {learnr} | R Documentation |
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()
.
debug_exercise_checker(
label,
user_code,
solution_code,
check_code,
envir_result,
evaluate_result,
envir_prep,
last_value,
engine,
...
)
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) |
Feedback for use in exercise debugging.