Learn R Programming

isodistrreg (version 0.6.0)

warn_once: Helper to warn once per session Warn only once per session

Description

Filters warnings, letting through only the first of each.

Usage

warn_once(key, msg, call. = FALSE, immediate. = FALSE)

Arguments

key

How to identify the warning.

msg

Message text.

call.

Logical; if TRUE, the call is included in the warning message.

immediate.

Logical; if TRUE, the warning is issued immediately rather than being deferred.