This is a generic definition that can be extended according to class.
.cacheMessage( object, functionName, fromMemoise = getOption("reproducible.useMemoise", TRUE), verbose = getOption("reproducible.verbose", 1) ) # S4 method for ANY .cacheMessage( object, functionName, fromMemoise = getOption("reproducible.useMemoise", TRUE), verbose = getOption("reproducible.verbose", 1) )
object | Any R object. |
---|---|
functionName | A character string indicating the function name |
fromMemoise | Logical. If |
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., |
Nothing; called for its messaging side effect.
a <- 1 .cacheMessage(a, "mean")#>