You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[.data.table accept single arg keyby but does not process correctly #1105
Supplying only by or only keyby argument to [.data.table might result unexpected results:
library(data.table)
dt<- data.table(a=1:10, b=1:5)
# example on keyby, all three cases: no error, no aggregation, returns dtdt[,,,b]
dt[,,,keyby=b]
dt[keyby=b]
Another thing would be nice to handle below, currently is error
All cases reported in this issue are already emitting warning, so it was resolved sometime during the last 5 years. Tests that covers this are 1967.521+
Activity
additional check for by and keyby input args, closes Rdatatable#1105
jangorecki commentedon Apr 3, 2020
All cases reported in this issue are already emitting warning, so it was resolved sometime during the last 5 years. Tests that covers this are 1967.521+