suppress_warnings: Selective suppress warnings

View source: R/suppress_warnings.R

suppress_warningsR Documentation

Selective suppress warnings

Description

Suppress warnings matching particular regular expressions.

Usage

suppress_warnings(.expr, .f)

Arguments

.expr

Code to evaluate

.f

A regular expression (which will be passed to grepl()).

Details

See https://stackoverflow.com/questions/16517795/selective-suppresswarnings-that-filters-by-regular-expression

Value

The warning message as character string, invisibly.


sen2r documentation built on Nov. 10, 2023, 9:08 a.m.