View source: R/context-manager.R
ContextManager | R Documentation |
Context managers
ContextManager(
enter = function() {
},
exit = function() {
},
error = NULL,
as = NULL
)
enter |
function to run before taking actions |
exit |
function to run after taking actions |
error |
optional function to run if an error is thrown |
as |
character optional way to specify a default name for assigning the return of the enter function. |
an S3 class "contextManager" object
with-context-manager
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.