-
Notifications
You must be signed in to change notification settings - Fork 186
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
Introduce deprecated_function_linter()
#1386
Comments
Is there maybe a way to programmatically extract this lifecycle information from packages? |
Yeah, I was thinking the same. Probably via #' `r lifecycle::badge("deprecated")` |
It seems the first call in the function should also be to |
Seems like if we body(testthat::expect_that)[[2]][[1]]
#> edition_deprecate
body(survival::survConcordance)[[3]][[1]]
#> .Deprecated
body(tibble::data_frame)[[2]][[1]]
#> deprecate_warn |
I just discovered |
A few resources to consider here, which would help us with implementation:
|
As discussed in #1377.
This linter will mostly centre around packages that assign lifecycle stages for functions (testthat, tidyverse, etc.).
The text was updated successfully, but these errors were encountered: