library(data.table)
dtA <- data.table(y = 1)
dtB <- data.table(y = 2)
fintersect(dtA, dtB)
#> Error in funique(y): is.data.table(x) is not TRUE
The issue is in:
|
x[funique(y), nomatch=0L, on=names(x), mult="first"] |
I guess the solution could be to substitute funique(y) with something like
funique(get("y", envir = parent.frame(3))).
The issue is in:
data.table/R/setops.R
Line 70 in 659657a
I guess the solution could be to substitute
funique(y)with something likefunique(get("y", envir = parent.frame(3))).