runWithRegExCatch: Run a function and catch any regex errors, returning an error...

Description Usage Arguments Value Examples

View source: R/appUtil.R

Description

Run a function and catch any regex errors, returning an error messge data frame instead

Usage

1

Arguments

fun

function executing the regex search

...

other arguments passed to fun

Value

the result of fun, or a data frame containing an error message if the execution of fun causes an regex error

Examples

1
runWithRegExCatch(grep, ".*(", "should lead to an error")

cwolk/ShinyConc documentation built on April 9, 2021, 1:43 p.m.