warningCondition: Backport of warningCondition and errorCondition for R < 3.6.0

View source: R/warningCondition.R

warningConditionR Documentation

Backport of warningCondition and errorCondition for R < 3.6.0

Description

See the original description in base::warningCondition/base::errorCondition.

Usage

warningCondition(msg, ..., class = NULL, call = NULL)

errorCondition(msg, ..., class = NULL, call = NULL)

Examples

# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_warningCondition = getFromNamespace("warningCondition", "backports")
bp_warningCondition("package backports not found")

mllg/backports documentation built on March 15, 2023, 8:07 p.m.