This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 831b5f0344 GH-46169: [CI][R] Update R version to 4.5 due to 4.4 not
being on APT repositories anymore (#46171)
831b5f0344 is described below
commit 831b5f034422f01aef3396bc77b1718fc48d2de6
Author: Raúl Cumplido <[email protected]>
AuthorDate: Thu Apr 17 10:52:09 2025 +0200
GH-46169: [CI][R] Update R version to 4.5 due to 4.4 not being on APT
repositories anymore (#46171)
### Rationale for this change
The
[debian-12-docs](https://github.com/ursacomputing/crossbow/actions/runs/14477216662/job/40605633697)
are failing due to R 4.4 missing from Debian repositories and
https://cloud.r-project.org/bin/linux/ubuntu/ has also updated to 4.5
### What changes are included in this PR?
Update default R version on `.env` and ARG
### Are these changes tested?
Via CI (archery)
### Are there any user-facing changes?
No
* GitHub Issue: #46169
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
.env | 2 +-
ci/docker/linux-apt-docs.dockerfile | 2 +-
ci/docker/linux-apt-r.dockerfile | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.env b/.env
index d2badc1e34..b54b4e5dad 100644
--- a/.env
+++ b/.env
@@ -72,7 +72,7 @@ PANDAS=latest
PYTHON=3.9
PYTHON_IMAGE_TAG=3.9
PYTHON_ABI_TAG=cp39
-R=4.4
+R=4.5
SPARK=master
TURBODBC=latest
diff --git a/ci/docker/linux-apt-docs.dockerfile
b/ci/docker/linux-apt-docs.dockerfile
index 31435d4989..b9f7c716e5 100644
--- a/ci/docker/linux-apt-docs.dockerfile
+++ b/ci/docker/linux-apt-docs.dockerfile
@@ -18,7 +18,7 @@
ARG base
FROM ${base}
-ARG r=4.4
+ARG r=4.5
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
diff --git a/ci/docker/linux-apt-r.dockerfile b/ci/docker/linux-apt-r.dockerfile
index 48c7154ef0..83a7b8b9ba 100644
--- a/ci/docker/linux-apt-r.dockerfile
+++ b/ci/docker/linux-apt-r.dockerfile
@@ -35,7 +35,7 @@ ENV LANG=C.UTF-8
# Build R
# [1]
https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-18-04
# [2]
https://linuxize.com/post/how-to-install-r-on-ubuntu-18-04/#installing-r-packages-from-cran
-ARG r=4.4
+ARG r=4.5
RUN apt-get update -y && \
apt-get install -y \
dirmngr \