Learn R Programming

validate (version 0.1.4)

errors: Get messages from a confrontation object

Description

Get messages from a confrontation object

Usage

errors(x, ...)

## S3 method for class 'confrontation': errors(x, ...)

## S3 method for class 'confrontation': warnings(x, ...)

Arguments

x
An object of class confrontation
...
Arguments to be passed to other methods.

See Also

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