grimbough / bioc-actions

GitHub Actions for developing and maintaining Bioconductor packages
MIT License
11 stars 3 forks source link

Use rversions::r_release() to get current release version #3

Open csoneson opened 2 years ago

csoneson commented 2 years ago

Another thought: would it make sense to use

currentR <- as.numeric_version(rversions::r_release()$version)

in place of https://github.com/grimbough/bioc-actions/blob/532cbd7d9a0c564b18085514a00bdd952ed6f957/setup-bioc/create-version-map.R#L27-L30

The latter still seems to return 4.1.2 while the former gives 4.2.0.