try_parse.Rd
This simple wrapper returns an empty tibble on error and returns a custom warning message.
try_parse(expr, error_message, ...)
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 |
evaluated expression on success or empty tibble on error