simList
.makeDigestible(simList)
## S3 method for class 'simList':
makeDigestible(simList)
simList
simList
object, but with no reference to any environmentssimList
, except that all references to
local environments are removed. Specifically, all functions (which are contained
within environments) are converted to a text representation via a call to format(fn)
.
Also the objects that were contained within the .envir
slot are hashed using digest
in the digest
package. Also, paths
slot is not used to allow
comparison across platforms and it is not relevant where the objects are gotten from,
so long as the objects are the same. The .envir
slot is emptied (NULL). The object is then
converted to a simList_
which has a .list
slot. The hashes of the objects
are then placed in that .list
slot.cache
.
digest
.