Learn R Programming

vvauditor (version 0.7.0)

assert_date_named: Assert Date Value in Column

Description

This function asserts that the values in a specified column of a data frame are of Date type. It uses the checkmate::assert_date function to perform the assertion.

Usage

assert_date_named(column, df, prefix_column = NULL, ...)

Value

None

Arguments

column

A character vector or string with the column name to be tested.

df

The data frame that contains the column.

prefix_column

A character string that will be prepended to the column name in the assertion message. Default is NULL.

...

Additional parameters are passed to the checkmate::assert_date function.