.addChangedAttr
for simList
objectsThis will evaluate which elements in the simList
object changed following
this Cached function call. It will add a named character string as an
attribute attr(x, ".Cache")$changed
, indicating which ones changed.
When this function is subsequently called again, only these changed objects
will be returned. All other simList
objects will remain unchanged.
# S4 method for simList
.addChangedAttr(object, preDigest, origArguments, ...)
returns the object with attribute added
Any R object returned from a function
The full, element by element hash of the input arguments to that same function,
e.g., from .robustDigest
These are the actual arguments (i.e., the values, not the names) that
were the source for preDigest
Anything passed to methods.
reproducible::.addChangedAttr