R/messages.R
has_warning.Rd
Check whether any warnings are stored
has_warning()
TRUE if the message store contains at least one warning, FALSE otherwise.
TRUE
FALSE
bioclim_warnings(), has_error()
bioclim_warnings()
has_error()
clear_messages() has_warning() # FALSE #> [1] FALSE