Error using tidyeval quo() with gather()
问题 I am trying to run gather() on data frames, and programmatically assign the .key column name using !!quo(). But I keep getting 'Error: Invalid column specification'. I even found a closed ticket where it shows that it should work (https://github.com/tidyverse/tidyr/issues/293). I'm going to go back to using rename_() as a workaround, but it would be nice to use the more elegant NSE. library('tidyverse') data(mtcars) my_var <- 'my_col_name' The following works, but is a one-trick pony > mtcars