try_default | R Documentation |
try_default
wraps try so that it returns a default value in the case of error.
tryNULL
provides a useful special case when dealing with lists.
try_default(expr, default, quiet = FALSE)
tryNULL(expr)
expr |
expression to try |
default |
default value in case of error |
quiet |
should errors be printed (TRUE) or ignored (FALSE, default) |
tryapply
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.