Learn R Programming

sen2r (version 1.3.4)

suppress_warnings: 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()).

Value

The warning message as character string, invisibly.

Details

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