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

gsum on int64 ignores na.rm=FALSE #3464

Closed
jangorecki opened this issue Mar 18, 2019 · 0 comments
Closed

gsum on int64 ignores na.rm=FALSE #3464

jangorecki opened this issue Mar 18, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@jangorecki
Copy link
Member

@jangorecki jangorecki commented Mar 18, 2019

DT = data.table(id=c(rep(1L,3), rep(2L, 3)), v=bit64::as.integer64(c(1:3, NA, 5:6)))
DT[2:6, sum(v), id]
#      id    V1
#   <int> <i64>
#1:     1     5
#2:     2    11
DT[, "v" := as.integer(v)]
#      id    V1
#   <int> <int>
#1:     1     5
#2:     2    NA

might be related to #1647

@mattdowle mattdowle added this to the 1.12.4 milestone May 14, 2019
@jangorecki jangorecki self-assigned this Jul 31, 2019
jangorecki added a commit that referenced this issue Jul 31, 2019
mattdowle added a commit that referenced this issue Aug 14, 2019
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.

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