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

Crash in roll_max with vectors of lenth around 545 #32

Closed
lukasz-bednarz-reddeersystems opened this issue Jul 1, 2020 · 4 comments
Closed
Labels
bug

Comments

@lukasz-bednarz-reddeersystems
Copy link

@lukasz-bednarz-reddeersystems lukasz-bednarz-reddeersystems commented Jul 1, 2020

roll::roll_max(rep(1,545), 10)

causes crash in R-4.0.2 with roll v1.1.4

@jjf234 jjf234 added the bug label Jul 2, 2020
@jjf234
Copy link
Owner

@jjf234 jjf234 commented Jul 2, 2020

Thanks for the reprex. I have fixed the issue in the development version:

# install.packages("devtools")
devtools::install_github("jjf234/roll")
@lukasz-bednarz-reddeersystems
Copy link
Author

@lukasz-bednarz-reddeersystems lukasz-bednarz-reddeersystems commented Jul 2, 2020

Hi,

When do you think the CRAN version with fix might be available?

@jjf234
Copy link
Owner

@jjf234 jjf234 commented Jul 2, 2020

I would like to update the CRAN version in the next week or two. Could you confirm the fix resolves the issue?

@lukasz-bednarz-reddeersystems
Copy link
Author

@lukasz-bednarz-reddeersystems lukasz-bednarz-reddeersystems commented Jul 3, 2020

Yes, the fix is working.

@jjf234 jjf234 closed this Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.