-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Draft use_tidy_dependencies() #1423
Conversation
And apply it to usethis. Fixes #1418.
Co-authored-by: Jennifer (Jenny) Bryan <jenny.f.bryan@gmail.com>
imports <- any( | ||
roxygen_ns_append("@import rlang"), | ||
roxygen_ns_append("@importFrom glue glue"), | ||
roxygen_ns_append("@importFrom lifecycle deprecated") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason we wouldn't import all of lifecycle?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason for importing deprecated()
is that you use it in arguments; for everything else I think it's better to be explicit.
Co-authored-by: Kirill Müller <krlmlr@users.noreply.github.com>
And apply it to usethis. Fixes #1418.