In order to remove lubridate dependency, we self-detect leap years and adjust February accordingly.
lubridate
isLeapYear(Year)
Year
integer of year to query
logical is the Year a leap year or not
Carl Boe