How do I pipe into or include an additional argument within a list of quosures?
问题 I have a list of quosures in my_q_list below: library(rlang) suppressPackageStartupMessages(library(dplyr)) q_list <- function(...) { enquos(...) } my_q_list <- q_list( select(mpg, hp), filter(hp > 20), mutate(mpg2 = mpg*2) ) my_q_list #> <list_of<quosure>> #> #> [[1]] #> <quosure> #> expr: ^select(mpg, hp) #> env: global #> #> [[2]] #> <quosure> #> expr: ^filter(hp > 20) #> env: global #> #> [[3]] #> <quosure> #> expr: ^mutate(mpg2 = mpg * 2) #> env: global Created on 2020-07-01 by the