powered by
A "thing" is a special object made based on a module. Contains an active binding, defined with the `dot` argument.
thing(..., dot, parent = parent.frame(), lock = TRUE, expose_private = FALSE)
module expression
function expression used for active binding to `.`
the enclosing environment
lock the environment; logical
expose the private environment as `..private..`; logical
a module containing an active binding
module
# NOT RUN { my_thing <- mod::thing({ a <- 1 }, dot = function() a) my_thing$. my_thing[] # }
Run the code above in your browser using DataLab