The issue originally popped up her : #2931.
There are two issues from my perspective with 'on'.
First:
White spaces around operators make it fail:
DT <- data.table(a = 1:3, b=1:3)
i <- data.table(ai = 1:3, bi = 1:3)
DT[i, on = "a >= ai"]
## throws error
Second:
Column names including operators make it fail
DT <- data.table(`a>=` = 1:3, b = 1:3)
i <- data.table(ai = 1:3, bi = 1:3)
DT[i, on = "`a>=`==ai"]
## throws error
The issue originally popped up her : #2931.
There are two issues from my perspective with 'on'.
First:
White spaces around operators make it fail:
Second:
Column names including operators make it fail