Skip to contents

vrule_date

vrule_date

Methods

Inherited methods


Method new()

Initializes a date validation rule

Usage

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

Arguments

na_allowed

TRUE if NA values are allowed, FALSE otherwise

...

any other arg


Method validate()

Validates a date

Usage

vrule_date$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_date$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.