Try this using sym() and !!:
sym()
!!
v <- ('cty') v <- sym(v) plot <- mpg %>% ggplot(aes(x= model, y = !!v))+ geom_boxplot()+ coord_flip()+ geom_jitter(aes(color = year))
Output:
1.4m articles
1.4m replys
5 comments
57.0k users