Skip to content
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

Merged
merged 9 commits into from
Apr 16, 2021
Merged

Draft use_tidy_dependencies() #1423

merged 9 commits into from
Apr 16, 2021

Conversation

hadley
Copy link
Member

@hadley hadley commented Apr 16, 2021

And apply it to usethis. Fixes #1418.

And apply it to usethis. Fixes #1418.
@hadley hadley requested a review from jennybc April 16, 2021 14:44
imports <- any(
roxygen_ns_append("@import rlang"),
roxygen_ns_append("@importFrom glue glue"),
roxygen_ns_append("@importFrom lifecycle deprecated")
Copy link
Member

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?

Copy link
Member Author

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>
@hadley hadley merged commit 841d0a2 into master Apr 16, 2021
@hadley hadley deleted the tidy-deps branch April 16, 2021 18:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use_tidy_dependencies()
3 participants