test_predefined_objects: Test predefined R objects
Description
At the start of your SCT, you typically want to check whether some predefined
variables are still correct. test_predefined_object allows you to
specify a vector of object names, together with a vector of equivalence
conditions, evaluation specifications, undefined an incorrect messages. As
such, test_predefined_objects is a vectorized wrapper around
test_object with meaningful defeault feedback messages that
tell the student to not adapt predefined objects and code in the sample code.
## Not run: # # Suppose the sample code specifies the variables a, b and c, # # and you want to check that a, b and c haven't changed.# test_predefined_objects(c("a", "b", "c"))# ## End(Not run)