ropensci / skimr

A frictionless, pipeable approach to dealing with summary statistics
https://docs.ropensci.org/skimr
1.11k stars 79 forks source link

Predicates are not supported #611

Closed bastiantorges closed 3 years ago

bastiantorges commented 4 years ago

Hi,

I tried to use where(is.numeric) to select all numeric columns. This produces the following error message:

Error: This tidyselect interface doesn't support predicates yet. ℹ Contact the package author and suggest using eval_select().

Would it be sufficient to change vars_select to eval_selectin skim_with.R?

michaelquinn32 commented 4 years ago

Thanks for pointing that out!

That seems to be the root issue: we need to update the tidyselect API that we use. It's not exactly a one-to-one replacement, as we also need to follow some rlang semantics (capturing expressions, etc.).

https://tidyselect.r-lib.org/articles/syntax.html