Description Usage Arguments Value Examples
Custom trycatch block, print a message according type of the error the invalid_args class error is always an arg failure the invalid class error is when an error is expected & the function must be stopped the error class is in the case of an unexpected error: it will record all parameters & the function where it happened
1 |
expr |
R expression to try |
params |
a list with the function name & the parameters used to record in a RDS file |
return_object |
the object to return if the R expression doesn't work |
shiny |
boolean, use of sweetAlert from shinyWidgets pkg or not (only if a shiny session existed) |
the return_object argument
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.