-
Notifications
You must be signed in to change notification settings - Fork 69
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
Closes #2098 Post-release cleanup #2100
Conversation
@bms63 how does our new branching strategy work? Is it straight to |
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.
Are we ready to merge this to main
? The extension packages and company specific admiral packages have not been released yet. Do we need to update their CI/CD workflows first such that they are using the released admiral version and not the main
version for the merge to main
?
I think we need to pause on this PR and others for a bit and let company and extension packages catch up. @ddsjoberg, @dgrassellyb and @cicdguy have listed out some of the impacts to website/workflows which could be a bit of headache. Just FYI @pharmaverse/admiral please feel free to get PRs ready, but we probably will not merge into |
I'll adopt @bundfussr recs in the meantime, okay with holding off on the PR |
Is our only hold up this R CMD check issue? Once pharmaverse/admiralci#146 is done can this be merged or do we have more concerns? |
I think we should wait until admiralroche is released (end of this month) or until the workflows for admiralroche are updated. |
Sounds good. no issues for |
Co-authored-by: Ben Straub <ben.x.straub@gsk.com>
…verse/admiral into 2098_post_release_cleanup
@bundfussr are we still waiting on |
NEWS.md
Outdated
@@ -1,3 +1,36 @@ | |||
# admiral 0.12.0.9000 |
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.
Update
NEWS.md
under the header# admiral (development version)
The news file doesn't use the dev version numbers: just keep it as # admiral (development version)
R/compute_kidney.R
Outdated
@@ -137,7 +137,7 @@ | |||
compute_egfr <- function(creat, creatu = "SI", age, weight, sex, race = NULL, method, wt) { | |||
### BEGIN DEPRECATION | |||
if (!missing(wt)) { | |||
deprecate_warn("0.12.0", "compute_egfr(old_param = 'wt')", "compute_egfr(new_param = 'weight')") | |||
deprecate_stop("0.12.0", "compute_egfr(old_param = 'wt')", "compute_egfr(new_param = 'weight')") | |||
# old_param is given using exprs() | |||
weight <- wt |
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.
not a big deal, but this line can never be run. we can delete it because the line above throws an error
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.
this applies to a number of other features gone from deprecate warn to stop
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.
I think we actually want to return an error to coerce/push the user to use the new argument, as the next step of the deprecation would be to get rid of the old argument all together
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.
I agree, I am just saying that because the line 140 returns an error, lines 141 and 142 will never be run. @zdz2101
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.
Ahh yes thats a good point, I'll remove
Yes, it is not released yet. I think it should be this week or next week. @millerg23 , do we a release date for admiralroche? |
The 0.12.1 tar.gz is available in release. CAn you all use that or do you use |
I think the workflows for admiralroche are not updated yet, i.e., they use |
Looking to release this Friday, all going well. |
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the
devel
branch until you have checked off each task.styler::style_file()
to style R and Rmd filesdevtools::document()
so all.Rd
files in theman
folder and theNAMESPACE
file in the project root are updated appropriatelyNEWS.md
if the changes pertain to a user-facing function (i.e. it has an@export
tag) or documentation aimed at users (rather than developers)pkgdown::build_site()
and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.lintr::lint_package()
R CMD check
locally and address all errors and warnings -devtools::check()