has_warning: Check whether any warnings are stored

View source: R/messages.R

has_warningR Documentation

Check whether any warnings are stored

Description

Check whether any warnings are stored

Usage

has_warning()

Value

TRUE if the message store contains at least one warning, FALSE otherwise.

See Also

bioclim_warnings(), has_error()

Examples

clear_messages()
has_warning()   # FALSE

xbioclim documentation built on Oct. 5, 2026, 5:08 p.m.