r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
9 stars 2 forks source link

Dev version and Release version? #298

Open eitsupi opened 11 months ago

eitsupi commented 11 months ago

In the case of packages on CRAN, the natural approach is to install the release version from CRAN and the edge version from R-universe.

However, if the package is not on CRAN and we want to use R-universe as our primary repository (for example, pola-rs/r-polars#408), is it possible to host the edge version and the release version in R-universe respectively? Is it permissible to have multiple records of the same package with different references (HEAD and release) in the package.json in someone's r-universe.dev repository?

wlandau commented 7 months ago

You can host the development version in your own universe and host your releases on https://r-releases.r-universe.dev (a new development).

As explained at https://github.com/r-releases/help, submitting to r-releases is super simple, and you only have to register your package once for all your releases to get picked up.

R-releases puts you as the maintainer in complete control. So in my mind, R-universe no longer needs to support hosting dev and production in the same universe, and so this issue can be closed.

eitsupi commented 7 months ago

Thanks for creating the organization and CI! I will try that.