# NOT RUN {
# from file
module_path <- system.file("misc", "example_module.R", package = "mod")
example_module <- acquire(module_path)
example_module$e(123)
# inline
my_module <- mod::ule({
a <- 1
.a <- 2
f <- function(){.a}
})
my_module$a
my_module$f
# }
Run the code above in your browser using DataLab