validate (version 1.1.5)

errors: Get messages from a confrontation object

Description

Get messages from a confrontation object

Usage

errors(x, ...)

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

# S4 method for 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

Run this code

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


Run the code above in your browser using DataLab