warn: Utility function to add and remove warnings without halting...

Description Usage Arguments Details Value Examples

View source: R/warn.R

Description

The warn handles warnings for WREG-R.

Usage

1
warn(mode, w = NULL)

Arguments

mode

Whether to initialize, check, get, add, or clear warnings

w

(optional) Message for adding warning

Details

This functions is a warning scheme that does not halt execution.

Value

Nothing, hasWarnings, or string list of warnings

Examples

1
hasWarnings <- warn("check")

wfarmer-usgs/WREG documentation built on July 24, 2020, 1:28 a.m.