addChangedAttr: '.addChangedAttr' for 'simList' objects

Description Usage Arguments See Also

Description

This 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.

Usage

1
2
## S4 method for signature 'simList'
.addChangedAttr(object, preDigest, origArguments, ...)

Arguments

object

Any R object returned from a function

preDigest

The full, element by element hash of the input arguments to that same function, e.g., from .robustDigest

origArguments

These are the actual arguments (i.e., the values, not the names) that were the source for preDigest

...

Anything passed to methods.

See Also

.addChangedAttr.

.addChangedAttr


SpaDES.core documentation built on Sept. 30, 2021, 5:10 p.m.