Skip to content

Commit e8dddf9

Browse files
authored
build: ensure only two minor versions (remove R 4.2.3 files) (#839)
Fix #835 Originally intended to build only the last two minor versions (which are known to be tested in CRAN and I believe are often considered supported R versions), we actually continued to build R4.2 after the R4.4 release. The build script has been corrected and the R4.2 files will be correctly deleted and will no longer be built.
1 parent 634deea commit e8dddf9

15 files changed

+1
-719
lines changed

bakefiles/4.2.3.docker-bake.json

Lines changed: 0 additions & 408 deletions
This file was deleted.

build/args/4.2.3.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

build/matrix/all.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"r_version": [
3-
"4.2.3",
43
"4.3.3",
54
"4.4.0",
65
"4.4.1"

build/scripts/generate-matrix.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ supported_versions <- fs::dir_ls(path = "build/args", regexp = r"((\d+\.){3}json
2222
) |>
2323
dplyr::slice_tail(n = 2, by = c(major, minor)) |>
2424
dplyr::filter(
25-
minor == dplyr::last(minor) | patch >= dplyr::lead(patch)
25+
minor == dplyr::last(minor) | dplyr::lead(minor) == dplyr::last(minor) & patch >= dplyr::lead(patch)
2626
) |>
2727
dplyr::pull(r_version) |>
2828
as.character()

dockerfiles/binder_4.2.3.Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

dockerfiles/cuda_4.2.3.Dockerfile

Lines changed: 0 additions & 27 deletions
This file was deleted.

dockerfiles/geospatial_4.2.3.Dockerfile

Lines changed: 0 additions & 43 deletions
This file was deleted.

dockerfiles/ml-verse_4.2.3.Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

dockerfiles/ml_4.2.3.Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

dockerfiles/r-ver_4.2.3.Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)