h_record_all_output | R Documentation |
This function silences all warnings, errors & messages and instead returns a list containing the results (if it didn't error), as well as the warnings, errors and messages and divergence signals as character vectors.
h_record_all_output(expr, remove = list(), divergence = list())
expr |
( |
remove |
( |
divergence |
( |
A list containing
result
: The object returned by expr
or list()
if an error was thrown.
warnings
: NULL
or a character vector if warnings were thrown.
errors
: NULL
or a string if an error was thrown.
messages
: NULL
or a character vector if messages were produced.
divergence
: NULL
or a character vector if divergence messages were caught.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.