errors: Get messages from a confrontation object

errorsR Documentation

Get messages from a confrontation object

Description

Get messages from a confrontation object

Usage

errors(x, ...)

## S4 method for signature 'confrontation'
errors(x, ...)

## S4 method for signature 'confrontation'
warnings(x, ...)

Arguments

x

An object of class confrontation

...

Arguments to be passed to other methods.

See Also

Other confrontation-methods: [,expressionset-method, as.data.frame,confrontation-method, confront(), confrontation-class, event(), keyset(), length,expressionset-method, values()

Examples


# create an error, by using a non-existent variable name
cf <- check_that(women, hite > 0, weight > 0)
# retrieve error messages
errors(cf)



validate documentation built on July 4, 2024, 9:07 a.m.