R4EPI / epitabulate

Tables for epidemiological analysis
https://R4EPI.github.io/epitabulate
GNU General Public License v3.0
8 stars 0 forks source link

Use strict selection in tidyselect #10

Closed zkamvar closed 2 years ago

zkamvar commented 4 years ago

We currently have problem with tidyselect. We used to be able to tell the users what variables were dropped and what were kept in analysis. This changed with tidyselect 1.0.0. I'm thinking that we should simply just use the strict version of tidyselect since the helpers are there.

Additionally, I realize this is not really a problem... the current iteration of tidyselect discourages the use of using a vector of column names to subset the data (as we had done before: https://github.com/R4EPI/sitrep/pull/184), so we can instruct the user to wrap it around any_of() or all_of().

Originally posted by @zkamvar in https://github.com/R4EPI/epibuffet/issues/8#issuecomment-584582959