Skip to content

Commit 5fa5ed9

Browse files
committed
[SPARK-56025][INFRA] Install remotes R package for spark-test-image/(lint|docs|sparkr)/Dockerfile
This PR aims to recover the CI by installing `remotes` R package for the following Dockerfiles. - dev/spark-test-image/lint/Dockerfile - dev/spark-test-image/docs/Dockerfile - dev/spark-test-image/sparkr/Dockerfile Currently, `master` branch is broken due to the new `devtools` 2.5.0 release. This PR aims to installation `remotes` package explicitly because we cannot pin `devtools` itself. - https://github.com/r-lib/devtools/releases/tag/v2.5.0 (2026-03-16) <img width="754" height="263" alt="Screenshot 2026-03-16 at 23 57 25" src="https://github.com/user-attachments/assets/c5b927a4-fe02-490a-866d-1f43460499f2" /> https://github.com/apache/spark/actions/runs/23180660599/job/67352803326 ``` 801.6 Error in devtools::install_version("pkgdown", version = "2.0.1", repos = "https://cloud.r-project.org/") : 801.6 The package "remotes" is required. ``` No. Recover the CIs. Generated-by: Claude Code (claude-opus-4-6) Closes #54853 from dongjoon-hyun/SPARK-56025. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Kousuke Saruta <[email protected]> (cherry picked from commit 54164e9) Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 8551960) Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 5b41285 commit 5fa5ed9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dev/spark-test-image/docs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LABEL org.opencontainers.image.ref.name="Apache Spark Infra Image for Documentat
2424
# Overwrite this label to avoid exposing the underlying Ubuntu OS version label
2525
LABEL org.opencontainers.image.version=""
2626

27-
ENV FULL_REFRESH_DATE=20241029
27+
ENV FULL_REFRESH_DATE=20260316
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -66,7 +66,7 @@ RUN apt-get update && apt-get install -y \
6666

6767

6868
# See more in SPARK-39959, roxygen2 < 7.2.1
69-
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat'), repos='https://cloud.r-project.org/')" && \
69+
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat', 'remotes'), repos='https://cloud.r-project.org/')" && \
7070
Rscript -e "devtools::install_version('roxygen2', version='7.2.0', repos='https://cloud.r-project.org')" && \
7171
Rscript -e "devtools::install_version('pkgdown', version='2.0.1', repos='https://cloud.r-project.org')" && \
7272
Rscript -e "devtools::install_version('preferably', version='0.4', repos='https://cloud.r-project.org')"

dev/spark-test-image/lint/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LABEL org.opencontainers.image.ref.name="Apache Spark Infra Image for Linter"
2424
# Overwrite this label to avoid exposing the underlying Ubuntu OS version label
2525
LABEL org.opencontainers.image.version=""
2626

27-
ENV FULL_REFRESH_DATE=20241112
27+
ENV FULL_REFRESH_DATE=20260316
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -58,7 +58,7 @@ RUN apt-get update && apt-get install -y \
5858
zlib1g-dev \
5959
&& rm -rf /var/lib/apt/lists/*
6060

61-
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat'), repos='https://cloud.r-project.org/')" \
61+
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat', 'remotes'), repos='https://cloud.r-project.org/')" \
6262
&& Rscript -e "devtools::install_version('pkgdown', version='2.0.1', repos='https://cloud.r-project.org')" \
6363
&& Rscript -e "devtools::install_version('preferably', version='0.4', repos='https://cloud.r-project.org')" \
6464
&& Rscript -e "devtools::install_version('lintr', version='2.0.1', repos='https://cloud.r-project.org')"

dev/spark-test-image/sparkr/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LABEL org.opencontainers.image.ref.name="Apache Spark Infra Image for SparkR"
2424
# Overwrite this label to avoid exposing the underlying Ubuntu OS version label
2525
LABEL org.opencontainers.image.version=""
2626

27-
ENV FULL_REFRESH_DATE=20241114
27+
ENV FULL_REFRESH_DATE=20260316
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -67,7 +67,7 @@ RUN add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-c
6767
# See more in SPARK-39959, roxygen2 < 7.2.1
6868
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', \
6969
'rmarkdown', 'testthat', 'devtools', 'e1071', 'survival', 'arrow', \
70-
'ggplot2', 'mvtnorm', 'statmod', 'xml2'), repos='https://cloud.r-project.org/')" && \
70+
'ggplot2', 'mvtnorm', 'statmod', 'xml2', 'remotes'), repos='https://cloud.r-project.org/')" && \
7171
Rscript -e "devtools::install_version('roxygen2', version='7.2.0', repos='https://cloud.r-project.org')" && \
7272
Rscript -e "devtools::install_version('lintr', version='2.0.1', repos='https://cloud.r-project.org')" && \
7373
Rscript -e "devtools::install_version('pkgdown', version='2.0.1', repos='https://cloud.r-project.org')" && \

0 commit comments

Comments
 (0)