tidymodels / hardhat

Construct Modeling Packages
https://hardhat.tidymodels.org
Other
101 stars 16 forks source link

some additional validators/checks #98

Closed topepo closed 4 years ago

topepo commented 5 years ago

Some suggestions for things that will be commonly used, especially for checking arguments.

DavisVaughan commented 5 years ago

I'm torn between encouraging these simple ones like validate_single_character(x) vs vec_assert(x, character(), 1) which I think is what would be encouraged (and is what that helper would use)

validate_outcomes_are_numeric(x) - I do think this one would be helpful

github-actions[bot] commented 3 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.