I've encountered this problem too.
It seems that Superset assume some of the column names that enclosed in quotes as subqueries. after changing the syntax in R string ('"col name"') the problem was resolved.