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
order optimization does not recognize all order args properly #4456
rather uncommon case, a non missing method argument
data.table(x=2:1)[base::order(x, method="auto")]
# x#1: 1#2: 2
data.table(x=2:1)[order(x, method="auto")]
#Error: Column 2 is length 1 which differs from length of column 1 (2)
length 1+ decreasing argument
data.table(x=2:1, y=2L)[order(x, y, decreasing=c(FALSE,FALSE))]
#Error: isTRUEorFALSE(decreasing) is not TRUE
d= data.table(x=3:1, y=c(2L,1L,3L), z=1:3)
with(d, order(x, y, decreasing=c(FALSE,FALSE)))
#[1] 3 2 1d[with(d, order(x, y, decreasing=c(FALSE,FALSE)))] ## order is masked with forder inside outer `d` thus has to be compatible#Error: isTRUEorFALSE(decreasing) is not TRUEd[with(d, base::order(x, y, decreasing=c(FALSE,FALSE)))]
# x y z#1: 1 3 3#2: 2 1 2#3: 3 2 1
changed the title [-]order optimization does recognize all order args properly[/-][+]order optimization does not recognize all order args properly[/+]on May 18, 2020
Activity
[-]order optimization does recognize all order args properly[/-][+]order optimization does not recognize all order args properly[/+](textproc/R-data.table) Updated 1.16.4 to 1.18.4, Fix build against 4…
(textproc/R-data.table) Updated 1.16.4 to 1.18.4, Fix build against 4…