Capture the expressions of a mutate-style command.
quote_mutate(...)
... | mutate expressions with := or = used for assignment. |
---|
ordered list of mutate_se assignment blocks
assignments <- quote_mutate(a1 := 1, b1 = a1, a2 := 2, b2 := 7*(a1 + a2)) data.frame(x=1) %.>% mutate_se(., assignments)#> Warning: seplyr::mutate_se possible name conflicts in assigment#> x a1 a2 b1 b2 #> 1 1 1 2 1 21