`valid_on` must be a vector of length 1 that is either a `Date` or an `yyyy-mm-dd` string. How would we best/most elegantly enforce this?
valid_onmust be a vector of length 1 that is either aDateor anyyyy-mm-ddstring.How would we best/most elegantly enforce this?