We should decide on a coherent policy for how we develop the package. Relevant questions are: where does the development version sit and how should we manage the docs at https://epiforecasts.io/scoringutils?
Status quo:
Our Readme says:
- stable version on CRAN
- stable development:
install.packages("scoringutils", repos = "https://epiforecasts.r-universe.dev")
- unstable development version on
main branch: remotes::install_github("epiforecasts/scoringutils", dependencies = TRUE).
In reality:
- version on
main currently equal to the stable version on CRAN
- unstable development version on the
develop branch
- the docs at https://epiforecasts.io/scoringutils get updated based on every PR to either
main or develop (even before merging into develop)
This seems pretty bad and we should urgently fix that.
Possible solutions
Option A:
- stable version on CRAN
- unstable development version on
main
- pkgdown docs get built on github releases, and every github release corresponds to a CRAN release, such that the docs always correspond to the CRAN version
- (somewhat unsure how the r-universe fits in)
Option B:
- stable version on CRAN and on
main. Pretty much every change to main should correspond to a CRAN release
- pgkdown docs are built on pushes to
main
- unstable development version on
develop. Readme should point to that
- (somewhat unsure how the r-universe fits in)
Option C? I don't have a very good grasp of what best practices should look like. But it seems to me like we should make sure that the docs at https://epiforecats.io/scoringutils correspond to the version on CRAN, otherwise things can quickly get confusing for users.
We should decide on a coherent policy for how we develop the package. Relevant questions are: where does the development version sit and how should we manage the docs at https://epiforecasts.io/scoringutils?
Status quo:
Our Readme says:
install.packages("scoringutils", repos = "https://epiforecasts.r-universe.dev")mainbranch:remotes::install_github("epiforecasts/scoringutils", dependencies = TRUE).In reality:
maincurrently equal to the stable version on CRANdevelopbranchmainordevelop(even before merging intodevelop)This seems pretty bad and we should urgently fix that.
Possible solutions
Option A:
mainOption B:
main. Pretty much every change tomainshould correspond to a CRAN releasemaindevelop. Readme should point to thatOption C? I don't have a very good grasp of what best practices should look like. But it seems to me like we should make sure that the docs at https://epiforecats.io/scoringutils correspond to the version on CRAN, otherwise things can quickly get confusing for users.