warningCondition {backports} | R 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")
[Package backports version 1.4.1 Index]