R/try_catch_error_as_null.R

Defines functions try_catch_error_as_null

Documented in try_catch_error_as_null

#' Skip error messages and continues to loop on the expression
#' @param expr expression
#' @export
try_catch_error_as_null <-
        function(expr) {
                tryCatch(expr, error = function(e) NULL)
        }
patelm9/mirroR documentation built on Feb. 12, 2020, 2:41 p.m.