Helpers for deducing options of mcMap. This is so we can set the behaviour in
the beginning of a script globally. Each call to mcMap
can override
these settings. Logging is enabled by default (for options(warn = 0)
).
For options(warn = -1)
we suppress logging and warnings. For
options(warn = 2)
warnings are handled as errors.
1 2 3 4 5 6 | getErrorsOption(errors = getOption("mctoolsErrors", 0))
getWarningsOption(warn = getOption("warn", 0))
getWarningsWhitelist(whitelist = getOption("mctoolsWarningsWhitelist",
character()))
|
errors, warn |
(numeric) see options. '-1' -> 'suppress'; '0&1' -> 'log'; '2' -> 'asError' |
whitelist |
(character) see mcMap |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.