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
if (haskey(x) && all(key(x) %chin% names(jval)) && suppressWarnings(is.sorted(jval, by=key(x)))) # TO DO: perhaps this usage of is.sorted should be allowed internally then (tidy up and make efficient)
1339
+
if (haskey(x) &&
1340
+
all(key(x) == names(jval)) &&## order of names should matter for the key; %chin% wouldn't care about order!
1341
+
((is.null(irows) &&jsub %iscall% "list"&& all(vapply_1b(as.list(jsub)[-1L], is.name))) ||##fix for #4498
1342
+
suppressWarnings(is.sorted(jval, by=key(x))))
1343
+
) # TO DO: perhaps this usage of is.sorted should be allowed internally then (tidy up and make efficient)
1340
1344
setattr(jval, 'sorted', key(x))
1341
1345
if (any(sapply(jval, is.null))) stop("Internal error: j has created a data.table result containing a NULL column") # nocov
0 commit comments