rlang
rlang copied to clipboard
Don't unquote past calls to `~` and `function`
Only from enquo()
, it should still be possible to do it from quo()
and expr()
. This should fix many issues of unexpected evaluation timing, when purrr operations are nested in a mutate.
https://stackoverflow.com/questions/58420266/how-to-pass-an-expression-to-the-filter-verb-the-tidy-way
https://stackoverflow.com/questions/59703618/can-you-use-dynamic-column-names-with-tidyeval-in-an-anonymous-function
https://community.rstudio.com/t/how-to-pass-variable-names-inside-a-tibble-to-a-function/51662/7
https://github.com/tidyverse/dplyr/issues/5511
https://stackoverflow.com/questions/65591282/an-object-inside-map-function-is-not-recognized-another-case
https://github.com/r-lib/rlang/issues/1328
https://github.com/tidyverse/dplyr/issues/6931 - note dplyr uses quos()
!