catch_either | R Documentation |
Try execute function which might throw exception.
catch_either(value, alt_value, catchfn = NULL)
value |
Value which might be exception. |
alt_value |
return value when expr throw exception. |
catchfn |
Function which will be called when expr throw exception with error message as argument. |
return value if expr don't throw, or exception if it throw.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.