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

diff() warning when simplifying integer vector wit big differences #249

Closed
moodymudskipper opened this issue Nov 19, 2023 · 0 comments · Fixed by #250
Closed

diff() warning when simplifying integer vector wit big differences #249

moodymudskipper opened this issue Nov 19, 2023 · 0 comments · Fixed by #250

Comments

@moodymudskipper
Copy link
Collaborator

moodymudskipper commented Nov 19, 2023

constructive::construct(c(0L, 0L, -1L, .Machine$integer.max))
#> Warning in r[i1] - r[-length(r):-(length(r) - lag + 1L)]: NAs produced by
#> integer overflow
#> c(0L, 0L, -1L, 2147483647L)

Created on 2023-11-19 with reprex v2.0.2

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

Successfully merging a pull request may close this issue.

1 participant