.wrap.simList {SpaDES.core} | R Documentation |
Methods for .wrap
and .unwrap
Description
Methods for .wrap
and .unwrap
Usage
## S3 method for class 'simList'
.wrap(
obj,
cachePath,
preDigest,
drv = getOption("reproducible.drv", NULL),
conn = getOption("reproducible.conn", NULL),
verbose = getOption("reproducible.verbose"),
outputObjects = NULL,
...
)
## S3 method for class 'simList'
.unwrap(
obj,
cachePath,
cacheId,
drv = getOption("reproducible.drv", NULL),
conn = getOption("reproducible.conn", NULL),
...
)
Arguments
obj |
Any arbitrary R object. |
cachePath |
A repository used for storing cached objects.
This is optional if |
preDigest |
The list of |
drv |
an object that inherits from |
conn |
A |
verbose |
Numeric, -1 silent (where possible), 0 being very quiet,
1 showing more messaging, 2 being more messaging, etc.
Default is 1. Above 3 will output much more information about the internals of
Caching, which may help diagnose Caching challenges. Can set globally with an
option, e.g., |
outputObjects |
Optional character vector indicating which objects to return. This is only relevant for list, environment (or similar) objects |
... |
Other arguments. Can be in the form of |
cacheId |
An optional character vector describing the |
Value
The same object as passed into the function, but dealt with so that it can be saved to disk.