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

Closes #2098 Post-release cleanup #2100

Merged
merged 27 commits into from
Oct 6, 2023
Merged

Closes #2098 Post-release cleanup #2100

merged 27 commits into from
Oct 6, 2023

Conversation

zdz2101
Copy link
Collaborator

@zdz2101 zdz2101 commented Sep 12, 2023

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.

  • Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
  • Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
  • Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
  • If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
  • Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
  • Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
  • Address any updates needed for vignettes and/or templates
  • Update NEWS.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)
  • Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
  • Address or fix all lintr warnings and errors - lintr::lint_package()
  • Run R CMD check locally and address all errors and warnings - devtools::check()
  • Link the issue in the Development Section on the right hand side.
  • Address all merge conflicts and resolve appropriately
  • Pat yourself on the back for a job well done! Much love to your accomplishment!

@github-actions
Copy link

github-actions bot commented Sep 12, 2023

Code Coverage

Package Line Rate Health
admiral 99%
Summary 99% (4390 / 4451)

@zdz2101 zdz2101 requested review from bms63 and bundfussr September 12, 2023 17:46
@zdz2101
Copy link
Collaborator Author

zdz2101 commented Sep 12, 2023

@bms63 how does our new branching strategy work? Is it straight to main ?

@zdz2101 zdz2101 linked an issue Sep 12, 2023 that may be closed by this pull request
DESCRIPTION Outdated Show resolved Hide resolved
DESCRIPTION Show resolved Hide resolved
@zdz2101 zdz2101 marked this pull request as ready for review September 12, 2023 19:55
@zdz2101 zdz2101 requested a review from jeffreyad as a code owner September 12, 2023 19:55
Copy link
Collaborator

@bundfussr bundfussr left a 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?

DESCRIPTION Outdated Show resolved Hide resolved
NEWS.md Outdated Show resolved Hide resolved
tests/testthat/test-derive_merged.R Outdated Show resolved Hide resolved
tests/testthat/test-derive_var_dthcaus.R Outdated Show resolved Hide resolved
@bms63
Copy link
Collaborator

bms63 commented Sep 13, 2023

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.

image

Just FYI @pharmaverse/admiral please feel free to get PRs ready, but we probably will not merge into main till the sky is done falling.

@zdz2101
Copy link
Collaborator Author

zdz2101 commented Sep 13, 2023

I'll adopt @bundfussr recs in the meantime, okay with holding off on the PR

DESCRIPTION Outdated Show resolved Hide resolved
@bms63
Copy link
Collaborator

bms63 commented Sep 19, 2023

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?

@bundfussr
Copy link
Collaborator

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.
Is there a pending release for admiralgsk?

@bms63
Copy link
Collaborator

bms63 commented Sep 19, 2023

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. Is there a pending release for admiralgsk?

Sounds good.

no issues for admiralgsk

_pkgdown.yml Show resolved Hide resolved
NEWS.md Show resolved Hide resolved
NEWS.md Outdated Show resolved Hide resolved
Co-authored-by: Ben Straub <ben.x.straub@gsk.com>
@bms63
Copy link
Collaborator

bms63 commented Sep 25, 2023

@bundfussr are we still waiting on admiralroche ?

NEWS.md Outdated
@@ -1,3 +1,36 @@
# admiral 0.12.0.9000
Copy link
Collaborator

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)

@@ -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
Copy link
Collaborator

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

Copy link
Collaborator

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

Copy link
Collaborator Author

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

Copy link
Collaborator

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

Copy link
Collaborator Author

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

@bundfussr
Copy link
Collaborator

@bundfussr are we still waiting on admiralroche ?

Yes, it is not released yet. I think it should be this week or next week. @millerg23 , do we a release date for admiralroche?

@bms63
Copy link
Collaborator

bms63 commented Sep 26, 2023

@bundfussr are we still waiting on admiralroche ?

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 main. We will need to merge in patch into main if so.

@bundfussr
Copy link
Collaborator

@bundfussr are we still waiting on admiralroche ?

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 main. We will need to merge in patch into main if so.

I think the workflows for admiralroche are not updated yet, i.e., they use main.

@millerg23
Copy link
Collaborator

@bundfussr are we still waiting on admiralroche ?

Yes, it is not released yet. I think it should be this week or next week. @millerg23 , do we a release date for admiralroche?

Looking to release this Friday, all going well.

@bms63 bms63 merged commit b449a33 into main Oct 6, 2023
@bms63 bms63 deleted the 2098_post_release_cleanup branch October 6, 2023 15:29
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.

General Issue: Post-release cleanup
5 participants