@tomaszaba, we should implement a staging version approach as we plan for pre-release.
Once we have gone through the current development tasks/issues (up to testing and re-factor) including the changing of the remnants of the ipccheckr name in the package and have merged all these changes to main branch, we should do the following steps first leading up to pre-release:
[ ] #42
[ ] #37
[ ] #38
[ ] #39
[ ] #40
After pre-release and onwards, our workflow for working on this project can look like this:
Dev pathway
Create branch from dev
Update package version accordingly using usethis::use_dev_version()
Re-factor/code to address issue/task
Create tests as appropriate
devtools::check()
Pull request to dev
Review
Merge to dev
Prune/delete remote and local branch merged to dev
flowchart LR
A[1 New branch from dev] --> B[2 Update package dev version]
B[2 Update package dev version] --> C[3 Code]
C[3 Code/Re-factor] --> D[4 Create tests] --> E[5 devtools::check]
E[5 devtools::check] --> F{All checks passed?}
F{All checks passed?} -- NO --> C[3 Code/Re-factor]
F{All checks passed?} -- YES --> G[6 Pull request to dev] --> H[7 Review]
H[7 Review] --> I{Approved?}
I{Approved?} -- NO --> C[3 Code/Re-factor]
I{Approved?} -- YES --> J[8 Merge to dev]
Release pathway
Checkout dev
Update package version using usethis::use_version()
Update NEWS.md to document changes to dev
Pull request to main
Review
Merge to main
Resubmit to CRAN for new release (if CRAN package)
@tomaszaba, we should implement a staging version approach as we plan for pre-release.
Once we have gone through the current development tasks/issues (up to testing and re-factor) including the changing of the remnants of the
ipccheckr
name in the package and have merged all these changes tomain
branch, we should do the following steps first leading up to pre-release:After pre-release and onwards, our workflow for working on this project can look like this:
Dev pathway
dev
usethis::use_dev_version()
devtools::check()
dev
dev
dev
Release pathway
dev
usethis::use_version()
dev
main
main
We can discuss this once we get to that stage