Key takeaways:
- everything inside
vars(...)
is exactly the same as the stuff insideselect(...)
!!! vars()
is used for all scoped variants of dplyr verbs (I assume bc the variables need to “fit” into a single argument,.vars
. Inselect(...)
, the ellipses take everything)vars_select()
is probably more of a developer-facing function (seen inselect_helpers
documentation)
Some "gotchas":