There is a syntax error in the df$$key line.
In the IDE, the syntax error is marked at the {.
For long functions, this makes it impossible to spot the actual error.
The error marker should be at the point of the actual error, which in this case is the second $.
There is a syntax error in the
df$$key
line. In the IDE, the syntax error is marked at the{
. For long functions, this makes it impossible to spot the actual error. The error marker should be at the point of the actual error, which in this case is the second$
.