allow_mutation {riskmetric} | R Documentation |
a wrapper to assert that a pkg_ref has been permitted to do an additional mutation, used to handle recursive initialization of cached fields
Description
a wrapper to assert that a pkg_ref has been permitted to do an additional mutation, used to handle recursive initialization of cached fields
Usage
allow_mutation(x, expr, envir = parent.frame())
Arguments
x |
a |
expr |
an expression to evaluate, and possible do a mutation within |
envir |
an environment in which the expression is to be evaluated |
Value
the result of expr
[Package riskmetric version 0.2.4 Index]