Version 0.2.12.9000
·
17 commits
to main
since this release
- New functions:
user_object_get()
,user_object_exists()
anduser_object_list()
can be used to interact with objects created by the student's code.solution_object_get()
,solution_object_exists()
andsolution_object_list()
do the same for objects created by the solution code (#333). - New function:
with_exercise()
allows you to evaluate an expression as if it were run insidegrade_this()
with an associated exercise. It can be used alongsidemock_this_exercise()
for testing grading code outside the context of a learnr tutorial (#333). .envir_solution
is now included in thegrade_this()
check environment alongside.envir_prep
and.envir_result
..envir_solution
contains the state of the environment used to execute solution code, just as.envir_result
does for student code (#333).