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

Remove dependencies + upgrade to testthat 3 #30

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Dec 10, 2024

Also update README to fix a formatting issue.

Currently
image

Remove cli and clisymbols dependencies for cli. cli is now recommended over usethis to format messages.

Update tests to avoid testthat deprecated features testthat::teardown() -> withr::defer(), expect_is() for expect_s3_class() / expect_type().

You will note however that the logs become a bit more noisy. This is because testthat no longer silences all messages.

…ayon and clisymbols dependencies.

`ui_oops()` -> cli_inform() with a "x"
`ui_done()` cli_inform() with a "v" (check mark)

`ui_line()` -> cli_inform()

Remove glue since cli does this natively
Copy link
Member

@joethorley joethorley left a comment

Choose a reason for hiding this comment

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

@olivroy - Thanks so much for the PR. I have one minor edit (switch to Poisson template for website)

@joethorley joethorley merged commit 2523a15 into poissonconsulting:main Dec 11, 2024
13 checks passed
@joethorley
Copy link
Member

Thanks @olivroy - much appreciated!

@olivroy olivroy deleted the lin branch December 11, 2024 17:07
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.

2 participants