any-validation-method: Test if any validation resulted in TRUE

Description Usage Arguments See Also Examples

Description

Test if any validation resulted in TRUE

Usage

1
2
## S4 method for signature 'validation'
any(x, ..., na.rm = FALSE)

Arguments

x

validation object (see confront).

...

ignored

na.rm

[logical] If TRUE, NA values are removed before the result is computed.

See Also

Other validation-methods: aggregate,validation-method, all,validation-method, barplot,validation-method, check_that(), compare(), confront(), event(), names<-,rule,character-method, plot,validation-method, sort,validation-method, summary(), validation-class, values()

Examples

1
2
val <- check_that(women, height>60, weight>0)
any(val)

Example output

[1] TRUE

validate documentation built on Oct. 7, 2021, 9:19 a.m.