Assuming I can’t use matches() because of this dplyr issue, is this the way I am meant to use select to filter columns by some test on the column name?
select(test, str_subset(current_vars(), "somePattern"))
Specifically, is current_vars for general use? It’s listed in the help alongside
starts_with etc. but there’s no specific documentation of it. I’ve just used it because it seems to be what the other functions like