Description Usage Details Value Warning See Also Examples
A shared environment between modules.
1 2 3 |
The shared environment is bound to the injector being used.
The shared environment.
Do not assign to .SharedEnv
in the workspace, because this will always
mask the object of the same name in package:modulr
.
1 2 3 4 5 | .SharedEnv$foo <- "foo"
"foobar" %provides% { function() print(.SharedEnv$foo) }
make()()
.SharedEnv$foo <- "bar"
make()()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.