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
# else the NA in ansvals are for join inherited scope (test 1973), and NA could be in irows from join and data in i should be returned (test 1977)
770
775
# in both cases leave to the R-level subsetting of i and x together further below
771
776
} elseif (is.numeric(j)) {
772
-
if (!missingby) {
773
-
warning(
774
-
"`by` or `keyby` is ignored when `j` is a numeric vector used for column selection. ", "Perhaps you intended to use `.SD`? For example: DT[, .SD[, ", deparse(jsub), "], by = ...]",
775
-
call.=FALSE
776
-
)
777
-
}
778
777
j= as.integer(j)
779
778
if (any(w<- (j>ncol(x)))) stopf("Item %d of j is %d which is outside the column number range [1,ncol=%d]", idx<- which.first(w), j[idx], ncol(x))
0 commit comments