If by is positive, should return an empty object rather than erroring. This is more in line with seq2 from rlang, and plays better with calendar-expand. We won't need to special case the zero length case, since range() of an empty calendar should give c(max, min) of the allowed calendar values
Flipped rationale if by is negative
If
byis positive, should return an empty object rather than erroring. This is more in line with seq2 from rlang, and plays better with calendar-expand. We won't need to special case the zero length case, sincerange()of an empty calendar should givec(max, min)of the allowed calendar valuesFlipped rationale if by is negative