Configure how exercises are evaluated. An exercise evaluator is a function taking the arguments described below and returning a promise object which will eventually evaluate the user's code.
future_evaluator(expr, envir, label, timelimit, ...)
expr | an (un-evaluated) expression to be evaluated. |
---|---|
envir | the environment in which |
label | the label of the exercise chunk. |
timelimit | the configured time limit in seconds. |
... | additional parameters for future extensions. |
a promise object, or anything that can be cast to a promise object with as.promise().
future_evaluator
: evaluate user code in a future() promise. See future::plan()
for details on configuring where/how these promises are resolved.
Other exercise configuration:
exercise_options()