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")

bayesiandemography/demcheck documentation built on Dec. 28, 2021, 8:46 a.m.