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

Description Usage Arguments Details Value Examples

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")

USGS-R/WREG documentation built on May 9, 2019, 6:48 p.m.