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, confrontation-class, confront(), 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 March 31, 2023, 6:27 p.m.