chk_items_date: Check that all items in a list are Date vectors

Description Usage Arguments Examples

View source: R/chk-single.R

Description

Check that all items in a list are Date vectors

Usage

1
2
3

Arguments

x

A list.

name

The name for x that will be used in error messages.

Examples

1
2
3
4
x <- list(as.Date(character()),
          as.Date(c("2000-01-01", "2001-02-01")))
chk_items_date(x = x,
               name = "x")

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.