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 #4 Add vaccines test data #74

Merged
merged 8 commits into from
Oct 19, 2023
Merged

Closes #4 Add vaccines test data #74

merged 8 commits into from
Oct 19, 2023

Conversation

ahasoplakus
Copy link
Collaborator

@ahasoplakus ahasoplakus commented Oct 4, 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 Oct 4, 2023

Code Coverage

Package Line Rate Health
pharmaversesdtm 0%
Summary 0% (0 / 41)

Copy link
Collaborator

@manciniedoardo manciniedoardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic work @ahasoplakus - as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0 and also please could you add a section in the changelog for this version and describe the test datasets that have been added?

In terms of the actual programs I only have a comment about a spurious space in the titles of the programs but happy for you to ignore as it's super minor.

Please note that the next, equally important, step once this PR is merged is removing the test data from admiralvaccine and making sure that admiralvaccine references pharmaversesdtm instead. This will need to be done before the next admiralvaccine release (I assume december?)

data-raw/dm_vaccine.R Outdated Show resolved Hide resolved
data-raw/ex_vaccine.R Outdated Show resolved Hide resolved
@ahasoplakus
Copy link
Collaborator Author

Fantastic work @ahasoplakus - as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0 and also please could you add a section in the changelog for this version and describe the test datasets that have been added?

In terms of the actual programs I only have a comment about a spurious space in the titles of the programs but happy for you to ignore as it's super minor.

Please note that the next, equally important, step once this PR is merged is removing the test data from admiralvaccine and making sure that admiralvaccine references pharmaversesdtm instead. This will need to be done before the next admiralvaccine release (I assume december?)

Hi @manciniedoardo I have bumped the package version and updated the changelog, thanks a lot for your review. Will implement the changes required in {admiralvaccine} once this PR is merged

@bundfussr
Copy link
Contributor

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

@manciniedoardo
Copy link
Collaborator

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

@bundfussr
Copy link
Contributor

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

@manciniedoardo
Copy link
Collaborator

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

Thanks for the correction @bundfussr I understand now - @ahasoplakus feel free to modify and then I will approve the PR.

@ahasoplakus
Copy link
Collaborator Author

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

Thanks for the correction @bundfussr I understand now - @ahasoplakus feel free to modify and then I will approve the PR.

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

Thanks for the correction @bundfussr I understand now - @ahasoplakus feel free to modify and then I will approve the PR.

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

Thanks for the correction @bundfussr I understand now - @ahasoplakus feel free to modify and then I will approve the PR.

@manciniedoardo Set the package version to 0.1.1.9000 as discussed, however the CMD checks have failed with a NOTE
image

@manciniedoardo
Copy link
Collaborator

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

Thanks for the correction @bundfussr I understand now - @ahasoplakus feel free to modify and then I will approve the PR.

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

Thanks for the correction @bundfussr I understand now - @ahasoplakus feel free to modify and then I will approve the PR.

as this is the first PR in what will be the new versionof pharmaversesdtm, please could you increment the version in the DESCRIPTION file to 0.2.0

@manciniedoardo , shouldn't the version be set to 0.1.1.9000? Or do we use a different branching/version strategy than in admiral?

We are using the same branching strategy as admiral, but this isn't a patch it's a new version of the package hence the 0.2.0 version.

Yes, but as we are merging directly to main, we should use 0.1.1.9000 to indicate that it is the development version and not a released version. (At least in admiral we are doing it this way.)

Thanks for the correction @bundfussr I understand now - @ahasoplakus feel free to modify and then I will approve the PR.

@manciniedoardo Set the package version to 0.1.1.9000 as discussed, however the CMD checks have failed with a NOTE image

@bundfussr I believe we can ignore this but do you know why it's happening?

@bundfussr
Copy link
Contributor

@bundfussr I believe we can ignore this but do you know why it's happening?

Yes, it is due to our new branching strategy. We do not have a good solution yet. As a work-around we are accepting notes in the R-CMD checks at the moment. I have update the workflow.

@manciniedoardo manciniedoardo merged commit b106d41 into main Oct 19, 2023
20 of 21 checks passed
@manciniedoardo manciniedoardo deleted the 4_vx_test_data branch October 19, 2023 14:17
@manciniedoardo manciniedoardo restored the 4_vx_test_data branch October 19, 2023 14:17
@manciniedoardo manciniedoardo deleted the 4_vx_test_data branch October 19, 2023 14:18
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: Move any test data in {admiralvaccine} to {admiraldata}
3 participants