r rlang::parse_quo(): security concerns; alternative method?
My use case:
Why does `dplyr::across()` substitute the symbol `.x` for the current column in a two-sided formula `.x ~ .x`, but not in a one-sided formula `~.x`?
I’m writing a function that takes a two sided formula with a purrr-style lambda expression on either side, e.g. f(.x) ~ g(.x)
and converts those lambdas into two functions (.x) f(.x)
and (.x) g(.x)
. This is a simplified version: