is_valid_day: Check Validity of the Day Portion in the Date Input

Description Usage Arguments Value Author(s) Examples

View source: R/assertions.R

Description

Days are expected to range from 1 to 31

Usage

1

Arguments

arg

The argument to check

Value

TRUE if the argument is a day input, FALSE otherwise

Author(s)

Samia Kabi

Examples

1
assertthat::assert_that(admiral:::is_valid_day(20))

epijim/admiral documentation built on Feb. 13, 2022, 12:15 a.m.