Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seq() methods when from > to #282

Closed
DavisVaughan opened this issue Dec 22, 2021 · 0 comments · Fixed by #284
Closed

seq() methods when from > to #282

DavisVaughan opened this issue Dec 22, 2021 · 0 comments · Fixed by #284

Comments

@DavisVaughan
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant