From 2c12fd4759f3617a93dd592fafe78507b502d556 Mon Sep 17 00:00:00 2001 From: Alex Chubaty Date: Mon, 26 Oct 2026 18:07:45 -0600 Subject: [PATCH 1/3] Raise the R floor to 4.4 and test it CI's oldest leg is R 4.4; the declared 4.2 was never checked (PredictiveEcology/reproducible#663). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/R-CMD-check.yaml | 4 ++++ DESCRIPTION | 2 +- NEWS.md | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 04748c8..41f7146 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -25,3 +25,7 @@ jobs: R-CMD-check: uses: PredictiveEcology/actions/.github/workflows/R-CMD-check.yaml@main secrets: inherit + with: + ## oldrel-2 is the oldest R tested, so it sets the R floor in DESCRIPTION; + ## raise the floor when oldrel-2 rolls forward each April. + extra-config: '[{"config":{"os":"ubuntu-latest","nosuggests":false,"r":"oldrel-2"}},{"config":{"os":"windows-latest","nosuggests":false,"r":"oldrel-2"}}]' diff --git a/DESCRIPTION b/DESCRIPTION index 792127b..f666764 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -14,7 +14,7 @@ Authors@R: c( role = "cph") ) Depends: - R (>= 4.2) + R (>= 4.4) Imports: cli, data.table, diff --git a/NEWS.md b/NEWS.md index e5e634a..2175d3c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # clusters (development version) +## Dependency changes + +* clusters now needs R >= 4.4 (was 4.2), the oldest R version its checks run on. + * The `DEoptimDashboard()` page has a box for the first generation plotted; `initialIteration` is now only its starting value. Changing it redraws the plots without restarting the app. * `options(clusters.maxWorkersPerHost)` is now a cap on the host, every cluster together, not on each cluster From ec31401c9f5d0297f16f9fc3bbd434f267328b49 Mon Sep 17 00:00:00 2001 From: Alex Chubaty Date: Mon, 26 Oct 2026 18:08:55 -0600 Subject: [PATCH 2/3] Cite the PR in NEWS Co-Authored-By: Claude Opus 5.5 --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 2175d3c..87d0ecd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ ## Dependency changes -* clusters now needs R >= 4.4 (was 4.2), the oldest R version its checks run on. +* clusters now needs R >= 4.4 (was 4.2), the oldest R version its checks run on (#61). * The `DEoptimDashboard()` page has a box for the first generation plotted; `initialIteration` is now only its starting value. Changing it redraws the plots without restarting the app. From d6fba6805832c4780dfe57fc92acb5c86c0dc985 Mon Sep 17 00:00:00 2001 From: Alex Chubaty Date: Mon, 26 Oct 2026 21:20:44 -0600 Subject: [PATCH 3/3] Raise the R floor to 4.5 instead of 4.4 Its suggested packages can't be installed on R 4.4 (Deriv needs 4.5). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/R-CMD-check.yaml | 4 ---- DESCRIPTION | 2 +- NEWS.md | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 41f7146..04748c8 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -25,7 +25,3 @@ jobs: R-CMD-check: uses: PredictiveEcology/actions/.github/workflows/R-CMD-check.yaml@main secrets: inherit - with: - ## oldrel-2 is the oldest R tested, so it sets the R floor in DESCRIPTION; - ## raise the floor when oldrel-2 rolls forward each April. - extra-config: '[{"config":{"os":"ubuntu-latest","nosuggests":false,"r":"oldrel-2"}},{"config":{"os":"windows-latest","nosuggests":false,"r":"oldrel-2"}}]' diff --git a/DESCRIPTION b/DESCRIPTION index f666764..6105c85 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -14,7 +14,7 @@ Authors@R: c( role = "cph") ) Depends: - R (>= 4.4) + R (>= 4.5) Imports: cli, data.table, diff --git a/NEWS.md b/NEWS.md index 87d0ecd..2e5f9de 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ ## Dependency changes -* clusters now needs R >= 4.4 (was 4.2), the oldest R version its checks run on (#61). +* clusters now needs R >= 4.5 (was 4.2), the oldest R version its checks run on (#61). * The `DEoptimDashboard()` page has a box for the first generation plotted; `initialIteration` is now only its starting value. Changing it redraws the plots without restarting the app.