Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transition remaining rlang warnings and errors to cli #1162

Merged
merged 11 commits into from
Aug 29, 2024
Merged

Conversation

simonpcouch
Copy link
Contributor

Closes #1081. (!!!)

Definitely many opportunities to write out some of these errors with rlang type checkers, but... one step at a time. :)

This will definitely cause some snap changes at least in extratests and likely in parsnip extensions. I say we update extratests snaps along with this PR but wait to make PRs to parsnip extensions until we've followed this PR up with another in parsnip that integrates rlang type checkers.

@topepo
Copy link
Member

topepo commented Aug 28, 2024

I'm working on a corresponding extratests PR to update snapshots

topepo added a commit to tidymodels/extratests that referenced this pull request Aug 28, 2024
Copy link
Member

@EmilHvitfeldt EmilHvitfeldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking great! lots of good stuff

R/arguments.R Outdated Show resolved Hide resolved
R/arguments.R Outdated Show resolved Hide resolved
R/augment.R Outdated Show resolved Hide resolved
R/autoplot.R Outdated Show resolved Hide resolved
R/case_weights.R Show resolved Hide resolved
R/glm_grouped.R Show resolved Hide resolved
R/repair_call.R Outdated Show resolved Hide resolved
R/survival-censoring-weights.R Outdated Show resolved Hide resolved
R/survival-censoring-weights.R Outdated Show resolved Hide resolved
R/survival-censoring-weights.R Outdated Show resolved Hide resolved
R/arguments.R Outdated Show resolved Hide resolved
R/arguments.R Outdated Show resolved Hide resolved
R/arguments.R Outdated Show resolved Hide resolved
@simonpcouch simonpcouch merged commit dc9e188 into main Aug 29, 2024
8 of 10 checks passed
@simonpcouch simonpcouch deleted the cli-1081 branch August 29, 2024 13:24
topepo added a commit to tidymodels/extratests that referenced this pull request Aug 29, 2024
* testing and snapshot updates for tidymodels/parsnip#1162

* temp add remote for testing

* update two other tests/snapshots

* updated results

* remove parsnip `Remotes`

* a few more skips based on cran version failures

* a few more skips based on cran version failures

---------

Co-authored-by: simonpcouch <[email protected]>
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use {cli} for error messages
3 participants