suppressWarnings2: Warning messages

Description Usage Arguments Value Author(s)

Description

Generates a warning message that corresponds to its argument(s) and (optionally) the expression or function from which it was called, which can be turned off by a commandline parameter

Usage

1
suppressWarnings2(expr, enable = TRUE)

Arguments

expr

an expression to evaluate

enable

logical: if TRUE then suppressWarnings is enabled, if false, the expr is evaluated with no warning suppression

Value

the result from evaluating expr

Author(s)

Mark Cowley, 2011-08-15


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.