surely | R Documentation |
Wrap a function in a try
surely(.f)
.f |
the function to wrap |
an error if any, a warning if any, the result if any
## Not run:
sure_log <- surely(log)
sure_log(1)
sure_log("a")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.