Skip to content

Commit d9bc3b9

Browse files
authored
GH-49901: [R] Bump minimum supported R version to 4.2 now that 4.6 is out (#49929)
### Rationale for this change We don't need to support R 4.1 as a new version is out ### What changes are included in this PR? Bump minimum supported version to 4.2 ### Are these changes tested? In CI, sure ### Are there any user-facing changes? Nope * GitHub Issue: #49901 Authored-by: Nic Crane <thisisnic@gmail.com> Signed-off-by: Nic Crane <thisisnic@gmail.com>
1 parent eb375a5 commit d9bc3b9

4 files changed

Lines changed: 3 additions & 16 deletions

File tree

dev/tasks/macros.jinja

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ env:
277277
{# use filter to cast to string and convert to lowercase to match yaml boolean #}
278278
{% set is_fork = (not is_upstream_b)|lower %}
279279

280-
{% set r_release = {"ver": "4.2", "rt" : "42"} %}
281-
{% set r_oldrel = {"ver": "4.1", "rt" : "40"} %}
282280

283281
{%- macro github_set_env(env) -%}
284282
{% if env is defined %}

dev/tasks/r/github.linux.arrow.version.back.compat.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,8 @@ jobs:
9090
- { old_arrow_version: '10.0.1', r: '4.2' }
9191
- { old_arrow_version: '9.0.0', r: '4.2' }
9292
- { old_arrow_version: '8.0.0', r: '4.2' }
93-
- { old_arrow_version: '7.0.0', r: '4.1' }
94-
- { old_arrow_version: '6.0.1', r: '4.1' }
95-
- { old_arrow_version: '5.0.0', r: '4.1' }
96-
- { old_arrow_version: '4.0.0', r: '4.1' }
93+
- { old_arrow_version: '7.0.0', r: '4.2' }
94+
- { old_arrow_version: '6.0.1', r: '4.2' }
9795
env:
9896
ARROW_R_DEV: "TRUE"
9997
OLD_ARROW_VERSION: {{ '${{ matrix.config.old_arrow_version }}' }}
@@ -102,17 +100,9 @@ jobs:
102100

103101
- name: Prepare RSPM
104102
run: |
105-
old_arrow_version_major=$(echo ${OLD_ARROW_VERSION} | cut -d. -f1)
106-
if [ ${old_arrow_version_major} -ge 6 ]; then
107-
# Binary arrow packages for Ubuntu 22.04 are available only
108-
# for 6.0.0 or later.
109-
rspm="https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"
110-
echo "RSPM=${rspm}" >> $GITHUB_ENV
111-
else
112103
# testthat requires fs which now requires libuv1-dev. Install it
113104
# when RSPM isn't available
114105
sudo apt update && sudo apt install -y -V libuv1-dev
115-
fi
116106
- uses: r-lib/actions/setup-r@v2
117107
with:
118108
r-version: {{ '${{ matrix.config.r }}' }}

dev/tasks/r/github.linux.versions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
r_version:
3131
# We test devel, release, and oldrel in regular CI.
3232
# This is for older versions
33-
- "4.1"
3433
- "4.2"
3534
- "4.3"
3635
- "4.4"

r/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Description: 'Apache' 'Arrow' <https://arrow.apache.org/> is a cross-language
2222
language-independent columnar memory format for flat and hierarchical data,
2323
organized for efficient analytic operations on modern hardware. This
2424
package provides an interface to the 'Arrow C++' library.
25-
Depends: R (>= 4.1)
25+
Depends: R (>= 4.2)
2626
License: Apache License (>= 2.0)
2727
URL: https://github.com/apache/arrow/, https://arrow.apache.org/docs/r/
2828
BugReports: https://github.com/apache/arrow/issues

0 commit comments

Comments
 (0)