Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
From David A.
pretty_datesfails to compute the intervals whenever it has to extend beyond intervals of 1 year. Consider the example:pretty_dates(c(as.Date("1993-12-05"), as.Date("2007-12-01")), 14)As expected, it returns "1993-01-01 UTC", "1994-01-01 UTC", etc.
Now change the third argument to 7 instead of 14.
pretty_dates(c(as.Date("1993-12-05"), as.Date("2007-12-01")), 7)One would expect "1993-01-01 UTC", "1995-01-01 UTC", etc., but instead it crashes.