tidymodels / rsample

Classes and functions to create and summarize resampling objects
https://rsample.tidymodels.org
Other
341 stars 66 forks source link

Use cli errors in `initial_split.R` and `complement.R` #499

Closed hfrick closed 4 months ago

hfrick commented 4 months ago

This PR lets cli::cli_abort() throw the error instead of rlang::abort(), for the files initial_split.R and complement.R.

It uses cli's styling options and, for complement.default(), the pluralization feature.

github-actions[bot] commented 3 months ago

This pull request 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.