util_suppress_warnings function

Suppress warnings conditionally

Suppress warnings conditionally

util_suppress_warnings(expr, classes = "warning")

Arguments

  • expr: expression to evaluate
  • classes: character classes of warning-conditions to suppress

Returns

the result of expr

See Also

Other condition_functions: util_condition_constructor_factory(), util_deparse1(), util_error(), util_find_external_functions_in_stacktrace(), util_find_first_externally_called_functions_in_stacktrace(), util_find_indicator_function_in_callers(), util_message(), util_warning()

  • Maintainer: Stephan Struckmann
  • License: BSD_2_clause + file LICENSE
  • Last published: 2025-03-05