Why is dplyr::one_of()
called that? All the other select_helpers
names make sense to me, so I'm wondering if there's an aspect of one_of()
that I don't understand.
My understanding of one_of()
is that it just lets you select variables using a character vector of their names instead of putting their names into the select()
call, but then you get all of the variables whose names are in the vector, not just one of them. Is that wrong, and if it's correct, where does the name one_of()
come from?