Ok, I hope I don't get banned for this question but suppose I want to write a function which must work with variables whose names are know at runtime. The function would get a data frame as input, the names of whose columns are defined at runtime. The function should use tools from
What's the advantage of using
rlang to manage that, instead than passing variable names as string, which is what
aes_string() currently offer, for example? Since the
tidyverse is going in the direction of deprecating all methods using strings to identify variables names (if I understood correctly), I would like to understand the advantages of the
tidyeval-based approach wrt passing variable names as strings.