-
-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
Description
Blocked by
- [CRAN Release]: v0.5.0 teal.code#188
- [CRAN Release]: v0.4.0 teal.data#226
- [CRAN Release]: v0.5.0 teal.slice#499
- 1076 reorder formals #1080
- Pre-release activities #1021
- Reduce the size of sub-directories #1079
- align args asserts; align args defaults; logger in test #1008
- fix documentation for
modules#1032 - teal example apps testing #1050
- Drop support of list class for filter argument #1033
- bad unit tests #1042
- [Question]: example in README.md outdated? #1045
- [Question]:
teal::module()example outdated? #1046 - Fix temporarily skipped tests #1009
- init - data arg - Are we planning to keep supporting a "list of objects"? Note that they don't have to be either
data.frameorMAEany more. #1031 - Investigate the exhaustiveness of the documentation about
optionsin our vignettes #1066 - [Bug]: The verification status of the
teal_dataobject is lost making all data to be unverified #1069 - Merge the documentation page of
modules()andmodule()in one page #1074 - update
initdocumentation #1019 - Joins
slices_storeandslices_restoredocumentation #1072 ?
Pre-release
- Make sure you adhere to CRAN submission policy: https://cran.r-project.org/web/packages/submission_checklist.html; https://cran.r-project.org/web/packages/policies.html.
- Make sure that high priority bugs (label "priority" + "bug") have been resolved before going into the release.
- Review old/hanging PRs before going into the release (Optional).
- Revisit R-package's lifecycle badges (Optional).
- Make sure that all upstream dependencies of this package that need to be submitted to CRAN were accepted before going into release activities.
- Make sure integration tests are green 2-3 days before the release. Look carefully through logs (check for warnings and notes).
- Decide what gets merged in before starting release activities.
- remove examples for non-exported functions #1084
Release
Prepare the release
- Create a new release candidate branch
git checkout -b release-candidate-vX.Y.Z - Update NEWS.md file: make sure it reflects a holistic summary of what has changed in the package.
- Update README:
- include CRAN download links. See teal.code for example.
- Update installation instruction to install from CRAN. See teal.code for example.
- Remove the additional fields (
Remotes) from the DESCRIPTION file where applicable. - Make sure that the minimum dependency versions are updated in the DESCRIPTION file for the package and its reverse dependencies (Optional).
- Increase versioned dependency on {package name} to >=X.Y.Z (Optional).
- Commit your changes and create the PR on GitHub (add "[skip vbump]" in the PR title). Add all updates, commit, and push changes:
# Make the necessary modifications to your files # Stage the changes git add <files your modified> # Commit the changes git commit -m "[skip vbump] <Your commit message>" git push origin release-candidate-vX.Y.Z
Test the release
- Execute the manual tests on Shiny apps that are deployed on various hosting providers (Posit connect and shinyapps.io) - track the results in GitHub issue (Applicable only for frameworks that use Shiny).
- Monitor integration tests, if integration fails, create priority issues on the board.
- Execute UAT tests (Optional).
CRAN submission
- Tag the update(s) as a release candidate vX.Y.Z-rc (e.g. v0.5.3-rc1) on the release candidate branch (release-candidate-vX.Y.Z).
# Create rc tag for submission for internal validation git tag vX.Y.Z-rc<iteration number> git push origin vX.Y.Z-rc<iteration number> - Build the package locally using the command:
R CMD build .which will generate a .tar.gz file necessary for the CRAN submission. - Submit the package to https://win-builder.r-project.org/upload.aspx for testing, for more details please see "Building and checking R source packages for Windows": https://win-builder.r-project.org/.
- Once tested, send the package that was built in the previous steps to CRAN via this form: https://cran.r-project.org/submit.html.
- Address CRAN feedback, tag the package vX.Y.Z-rc(n+1) and repeat the submission to CRAN whenever necessary.
- Get the package accepted and published on CRAN.
Tag the release
- If the additional fields were removed, add them back in a separate PR, and then merge the PR back to main (add "[skip vbump]" in the PR title). If nothing was removed just merge the PR you created in the "Prepare the release" section to 'main'. Note the commit hash of the merged commit. Note: additional commits might be added to the
mainbranch by a bot or an automation - we do NOT want to tag this commit.
Make sure of the following before continuing
- CI checks are passing in GH before releasing the package.
- Shiny apps are deployable and there are no errors/warnings (Applicable only for frameworks that use Shiny).
- Create a git tag with the final version set to vX.Y.Z on the main branch. In order to do this:
- Checkout the commit hash.
git checkout <commit hash> - Tag the hash with the release version (vX.Y.Z).
git tag vX.Y.Z - Push the tag to make the final release.
git push origin vX.Y.Z
- Checkout the commit hash.
- Update downstream package dependencies to (>=X.Y.Z) in {package name}.
Note: Once the release tag is created, the package is automatically published to internal repositories.
Post-release
- Ensure that CRAN checks are passing for the package.
- Make sure that the package is published to internal repositories.
- Make sure internal documentation is up to date.
- Review and update installation instructions for the package wherever needed (Optional).
- Update all integration tests to reference the new release.
- Announce the release on 9 FEB 2024.
- Rerun biomarker-c https://github.com/insightsengineering/statistical-engineering/issues/69
Decision tree
Click here to see the release decision tree.