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

Why doesn't use_lifecycle() import 1 function from lifecycle? #1419

Closed
jennybc opened this issue Apr 14, 2021 · 2 comments · Fixed by #1422
Closed

Why doesn't use_lifecycle() import 1 function from lifecycle? #1419

jennybc opened this issue Apr 14, 2021 · 2 comments · Fixed by #1422

Comments

@jennybc
Copy link
Member

jennybc commented Apr 14, 2021

Looking at #1418, I wondered:

Why doesn't use_lifecycle() also do roxygen_ns_append("@importFrom lifecycle deprecated") (or, now that it exists, use_import_from("lifecycle", "deprecated"))?

I'm pretty sure it should.

@hadley
Copy link
Member

hadley commented Apr 16, 2021

What should happen if package-doc.R doesn't exist?

@hadley
Copy link
Member

hadley commented Apr 16, 2021

It prompts you to create it; which seems fine to me.

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 a pull request may close this issue.

2 participants