check_input_date_format: Check whether the format of the date input is acceptable

View source: R/utils.R

check_input_date_formatR Documentation

Check whether the format of the date input is acceptable

Description

Check whether the format of the date input is acceptable

Usage

check_input_date_format(date = parent.frame()$date)

Arguments

date

Vector. Either a 6-digit date in the format yyyymm or a 4-digit date input yyyy .

Value

Check messages.

Examples

## Not run:  if (interactive()) {

# get all dates available
all_dates <- get_all_dates_available()

# check dates
a <- check_date(200011, all_dates)
}
## End(Not run)

flightsbr documentation built on June 8, 2025, 1:17 p.m.