infer new variables from dplyr verbs