Dates or stringsValidates a date argument given either as a Date vector or as a
character vector of dates in the "YYYYMMDD" or "YYYY-MM-DD" formats
(which may be mixed), and converts it to a Date vector.
parse_dates(date, call = parent.frame(), arg = "date")A Date vector.
The date argument to be parsed.
The environment of the function whose date argument is
parsed, in which errors are reported.
A string. The name of the argument, used in error messages.