I recently noticed an odd behavior in R I can't explain. I had this in some old code:
The following should produce the list of months from 01/1980 -> 01/2029 and it works as expected:
length(chron::seq.dates("01/31/80", "01/03/29", by="months"))
[1] 588
This is where things become strange. The following is the same as above but should produce dates until the year 2030:
length(chron::seq.dates("01/31/80", "01/03/30", by="months"))
Error during wrapup: "from" must be a date before "to"
So what is happening here?