rlang icon indicating copy to clipboard operation
rlang copied to clipboard

Consider caching result of quasiquotation per argument

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

To avoid repeated side effects when an argument is defused multiple times:

my_function <- function(data, what) {
  data %>% summarise("{{ what }}" := mean({{ what }}))
}

lionel- avatar Jan 28 '20 21:01 lionel-