rlang icon indicating copy to clipboard operation
rlang copied to clipboard

Don't unquote past calls to `~` and `function`

Open lionel- opened this issue 4 years ago • 7 comments

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.

lionel- avatar Oct 07 '19 11:10 lionel-

https://stackoverflow.com/questions/58420266/how-to-pass-an-expression-to-the-filter-verb-the-tidy-way

lionel- avatar Oct 17 '19 06:10 lionel-

https://stackoverflow.com/questions/59703618/can-you-use-dynamic-column-names-with-tidyeval-in-an-anonymous-function

lionel- avatar Jan 13 '20 08:01 lionel-

https://community.rstudio.com/t/how-to-pass-variable-names-inside-a-tibble-to-a-function/51662/7

lionel- avatar Feb 24 '20 17:02 lionel-

https://github.com/tidyverse/dplyr/issues/5511

lionel- avatar Sep 01 '20 06:09 lionel-

https://stackoverflow.com/questions/65591282/an-object-inside-map-function-is-not-recognized-another-case

lionel- avatar Jan 06 '21 15:01 lionel-

https://github.com/r-lib/rlang/issues/1328

lionel- avatar Dec 08 '21 17:12 lionel-

https://github.com/tidyverse/dplyr/issues/6931 - note dplyr uses quos()!

DavisVaughan avatar Nov 06 '23 15:11 DavisVaughan