Skip to contents

Suppress certain warnings issued by an expression.

Usage

suppress_warning(expr, regexpr)

Arguments

expr

Expression to be executed

regexpr

Regular expression matching warnings to suppress

Value

Return value of the expression

Details

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

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()