Description Usage Arguments Value Examples
Compared to withCallingHandlers here we return a function which will will execute the desired call with modified calling handlers. This exposes the mechanism used in mcMap to be re-used.
1 2 3 | WithCallingHandlers(fun, errors = getErrorsOption(),
warnings = getWarningsOption(),
warningsWhitelist = getWarningsWhitelist())
|
fun |
(function) a function |
errors |
(character) one in |
warnings |
(character) one in |
warningsWhitelist |
(character) a vector of regular expressions for white-listing warnings. |
the function fun
wrapped in calling handlers.
1 | WithCallingHandlers(function(x) stop("Nooooooo"))()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.