suppress_warning: Suppress Specific Warnings

View source: R/warnings.R

suppress_warningR Documentation

Suppress Specific Warnings

Description

Suppress certain warnings issued by an expression.

Usage

suppress_warning(expr, regexpr)

Arguments

expr

Expression to be executed

Default value

none

regexpr

Regular expression matching warnings to suppress

Default value

none

Details

All warnings which are issued by the expression and match the regular expression are suppressed.

Value

Return value of the expression

See Also

Function that provide users with custom warnings warn_if_incomplete_dtc(), warn_if_inconsistent_list(), warn_if_invalid_dtc(), warn_if_vars_exist()


admiraldev documentation built on June 26, 2025, 1:09 a.m.