R/cache-helpers.R
addChangedAttr.Rd
This is a generic definition that can be extended according to class.
.addChangedAttr(object, preDigest, origArguments, ...)
# S4 method for ANY
.addChangedAttr(object, preDigest, origArguments, ...)
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.
The object, modified
a <- 1
.addChangedAttr(a) # does nothing because default method is just a pass through
#> [1] 1