R/try_catch_error_as_na.R

Defines functions try_catch_error_as_na

Documented in try_catch_error_as_na

#' Skip error messages, records NA, and continues to loop on the expression
#' @param expr expression
#' @export
try_catch_error_as_na <-
        function(expr) {
                tryCatch(expr, error = function(e) NA)
        }
patelm9/mirCat documentation built on April 24, 2020, 6:24 p.m.