validate (version 0.2.6)

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, confrontation-class, confront, length,expressionset-method, values

Examples

Run this code
# NOT RUN {
# 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 DataCamp Workspace