Skip to content

Draft use_tidy_dependencies()#1423

Merged
hadley merged 9 commits intomasterfrom
tidy-deps
Apr 16, 2021
Merged

Draft use_tidy_dependencies()#1423
hadley merged 9 commits intomasterfrom
tidy-deps

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
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.

use_tidy_dependencies()

3 participants