Skip to contents

vrule_logical

vrule_logical

Methods

Inherited methods


Method new()

Initializes a logical data validation rule

Usage

vrule_logical$new(na_allowed = FALSE, ...)

Arguments

na_allowed

is NA allowed?

...

any other arg


Method validate()

Method to validate data

Usage

vrule_logical$validate(value, ...)

Arguments

value

value

...

any other args

Returns

a validation report, object of class vrule_report


Method clone()

The objects of this class are cloneable with this method.

Usage

vrule_logical$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.