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

Unsuppressable start up message #22

Open
achafetz opened this issue Jul 11, 2024 · 0 comments
Open

Unsuppressable start up message #22

achafetz opened this issue Jul 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@achafetz
Copy link
Contributor

When running a package check on any of our packages, one check that provides a warning is about whether the startup messages can be suppressed. This arises for all our packages since they all have gagglr::oha_check().

image

While class = "packageStartupMessage" was added as a param for all of the cli messages in check_updates(), following what is done in tidyverse it appears we should create a function that outputs the message using rlang::inform(msg, ..., class = "packageStartupMessage")

https://github.com/tidyverse/tidyverse/blob/62f32d43e1e0650e4c05632dbfbe06977d1f292f/R/zzz.R#L2C1-L5C4

https://github.com/tidyverse/tidyverse/blob/62f32d43e1e0650e4c05632dbfbe06977d1f292f/R/utils.R#L1-L10

@achafetz achafetz added the bug Something isn't working label Jul 11, 2024
@achafetz achafetz self-assigned this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant