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

slide_period() edge case with complete = TRUE and empty data #111

Closed
DavisVaughan opened this issue Jul 15, 2020 · 0 comments
Closed

slide_period() edge case with complete = TRUE and empty data #111

DavisVaughan opened this issue Jul 15, 2020 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@DavisVaughan
Copy link
Member

DavisVaughan commented Jul 15, 2020

> slider::slide_period(integer(), new_date(), "month", identity, .complete = T)
Error in unique[[1]] : subscript out of bounds

Should probably try to detect size 0 case right after computing n <- length(unique)

@DavisVaughan DavisVaughan added the bug an unexpected problem or unintended behavior label Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant