suppress_warnings: Suppress warnings that match specific regular expressions

View source: R/yencode.R

suppress_warningsR Documentation

Suppress warnings that match specific regular expressions

Description

Based on this stack overflow answer, except it does not allow function arguments, only regular expressions. This removes the dependency on non-base-R packages.

Usage

suppress_warnings(expr, regexp)

torfason/zulutils documentation built on Aug. 21, 2023, 5:46 p.m.