I try to understand what I read on that page you provided a link to, but still confused.
For example:
var <- sym("height")
starwars %>%
summarise(avg = mean(!!var, na.rm = TRUE))
gives:
174.
But when I do this:
starwars %>%
summarise(avg = mean(height, na.rm = TRUE))
It works as well giving 174 as a result.
So what's the point to do:
var <- sym("height")
I am looking for some examples that shows it in a simple way, meaning when to use !!, !!!, {{ }}, {{{ }}}, (...), var, vars, etc.