Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: ensure only two minor versions (remove R 4.2.3 files) #839

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

eitsupi
Copy link
Member

@eitsupi eitsupi commented Aug 8, 2024

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.

@eitsupi eitsupi requested a review from cboettig August 8, 2024 14:08
@eitsupi eitsupi changed the title build: ensure only two minor versions build: ensure only two minor versions (remove R 4.2.3 files) Aug 8, 2024
@eitsupi eitsupi merged commit e8dddf9 into rocker-org:master Aug 9, 2024
1 of 2 checks passed
@eitsupi eitsupi deleted the fix-build branch August 9, 2024 12:01
@@ -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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! sorry I also overlooked this earlier!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Are 4.2.3 Dockerfiles still autogenerated?
2 participants