Description Usage Arguments Value Examples
Run a function and catch any regex errors, returning an error messge data frame instead
1 | runWithRegExCatch(fun, ...)
|
fun |
function executing the regex search |
... |
other arguments passed to fun |
the result of fun, or a data frame containing an error message if the execution of fun causes an regex error
1 | runWithRegExCatch(grep, ".*(", "should lead to an error")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.