Learn R Programming

PAMpal (version 1.4.4)

getWarnings: Get Warning Messages

Description

Accessor to easily get all warning messages for x

Usage

getWarnings(x)

Value

a list of warning messages, named by the function call that created the warning

Arguments

x

an AcousticStudy or AcousticEvent object

Author

Taiki Sakai taiki.sakai@noaa.gov

Examples

Run this code

if (FALSE) {
data(exStudy)
# This will trigger a warning, then we can access it
exStudy <- filter(exStudy, species == "test")
getWarnings(exStudy)
}

Run the code above in your browser using DataLab