try_parse: Wrapper to the tryCatch version to be used for the parsing...

Description Usage Arguments Value

View source: R/parse.R

Description

This simple wrapper returns an empty tibble on error and returns a custom warning message.

Usage

1
try_parse(expr, error_message, ...)

Arguments

expr

expression; expression to be evaluated for errors

error_message

character; character string to be displayed as a warning on error

...

extra parameters to be passed to the tryCatch() function.

Value

evaluated expression on success or empty tibble on error


BMRSr documentation built on June 14, 2021, 5:09 p.m.