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

Moving to cli #272

Merged
merged 37 commits into from
Nov 12, 2024
Merged

Moving to cli #272

merged 37 commits into from
Nov 12, 2024

Conversation

hfrick
Copy link
Member

@hfrick hfrick commented Oct 24, 2024

This PR makes use of cli in a lot more places, most notably:

  • replacing rlang::abort() and the crafty gluebort() with cli_abort()
  • moving the print methods for blueprints to cli.

Along the way, I've tried to streamline where possible, e.g. the message for the .default() methods and using the wording "must be" rather than "should be" for consistency with the rlang type-checkers.

R/print.R Show resolved Hide resolved
R/print.R Show resolved Hide resolved
R/validation.R Outdated Show resolved Hide resolved
@hfrick hfrick requested a review from topepo October 24, 2024 16:36
R/model-offset.R Outdated Show resolved Hide resolved
R/scream.R Show resolved Hide resolved
R/util.R Outdated Show resolved Hide resolved
R/validation.R Outdated Show resolved Hide resolved
R/validation.R Outdated Show resolved Hide resolved
R/validation.R Show resolved Hide resolved
R/validation.R Outdated Show resolved Hide resolved
tests/testthat/_snaps/forge-formula.md Outdated Show resolved Hide resolved
tests/testthat/_snaps/model-offset.md Outdated Show resolved Hide resolved
tests/testthat/_snaps/print.md Show resolved Hide resolved
@hfrick hfrick requested a review from topepo October 25, 2024 18:25
@hfrick hfrick merged commit aa7204b into main Nov 12, 2024
12 checks passed
@hfrick hfrick deleted the cli branch November 12, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants