Skip to content

Commit

Permalink
build: ensure only two minor versions (remove R 4.2.3 files) (#839)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eitsupi authored Aug 9, 2024
1 parent 634deea commit e8dddf9
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 719 deletions.
408 changes: 0 additions & 408 deletions bakefiles/4.2.3.docker-bake.json

This file was deleted.

12 changes: 0 additions & 12 deletions build/args/4.2.3.json

This file was deleted.

1 change: 0 additions & 1 deletion build/matrix/all.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"r_version": [
"4.2.3",
"4.3.3",
"4.4.0",
"4.4.1"
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/generate-matrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ supported_versions <- fs::dir_ls(path = "build/args", regexp = r"((\d+\.){3}json
) |>
dplyr::slice_tail(n = 2, by = c(major, minor)) |>
dplyr::filter(
minor == dplyr::last(minor) | patch >= dplyr::lead(patch)
minor == dplyr::last(minor) | dplyr::lead(minor) == dplyr::last(minor) & patch >= dplyr::lead(patch)
) |>
dplyr::pull(r_version) |>
as.character()
Expand Down
20 changes: 0 additions & 20 deletions dockerfiles/binder_4.2.3.Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions dockerfiles/cuda_4.2.3.Dockerfile

This file was deleted.

43 changes: 0 additions & 43 deletions dockerfiles/geospatial_4.2.3.Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions dockerfiles/ml-verse_4.2.3.Dockerfile

This file was deleted.

21 changes: 0 additions & 21 deletions dockerfiles/ml_4.2.3.Dockerfile

This file was deleted.

17 changes: 0 additions & 17 deletions dockerfiles/r-ver_4.2.3.Dockerfile

This file was deleted.

31 changes: 0 additions & 31 deletions dockerfiles/rstudio_4.2.3.Dockerfile

This file was deleted.

28 changes: 0 additions & 28 deletions dockerfiles/shiny-verse_4.2.3.Dockerfile

This file was deleted.

25 changes: 0 additions & 25 deletions dockerfiles/shiny_4.2.3.Dockerfile

This file was deleted.

34 changes: 0 additions & 34 deletions dockerfiles/tidyverse_4.2.3.Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions dockerfiles/verse_4.2.3.Dockerfile

This file was deleted.

0 comments on commit e8dddf9

Please sign in to comment.