Description Usage Arguments Value Examples
Function validates format of dates throws warning if a given value has not the required date format or cannot be converted to a valid date
1 | validate_dates(..., .format = "%Y-%m-%d")
|
... |
a comma-separated list of presumable date values |
.format |
an ISO date fromat to be validated Default is '%Y-%m-%d'. |
A list, one element for each element passed to ...
.
Elements NA when
1 2 3 4 5 6 | ## Not run:
test_ <- validate_dates(1234, Sys.Date(), "2019-02-30")
test_
lapply(test_, class)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.