Skip to content

Commit 54164e9

Browse files
dongjoon-hyunsarutak
authored andcommitted
[SPARK-56025][INFRA] Install remotes R package for spark-test-image/(lint|docs|sparkr)/Dockerfile
### What changes were proposed in this pull request? 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 ### Why are the changes needed? 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. ``` ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Recover the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-4-6) Closes #54853 from dongjoon-hyun/SPARK-56025. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Kousuke Saruta <sarutak@apache.org>
1 parent 6e05916 commit 54164e9

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=20260213
27+
ENV FULL_REFRESH_DATE=20260316
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -71,7 +71,7 @@ RUN apt-get update && apt-get install -y \
7171
&& rm -rf /var/lib/apt/lists/*
7272

7373
# See more in SPARK-39959, roxygen2 < 7.2.1
74-
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat'), repos='https://cloud.r-project.org/')" && \
74+
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat', 'remotes'), repos='https://cloud.r-project.org/')" && \
7575
Rscript -e "devtools::install_version('roxygen2', version='7.2.0', repos='https://cloud.r-project.org')" && \
7676
Rscript -e "devtools::install_version('pkgdown', version='2.0.1', repos='https://cloud.r-project.org')" && \
7777
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=20260210
27+
ENV FULL_REFRESH_DATE=20260316
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -63,7 +63,7 @@ RUN apt-get update && apt-get install -y \
6363
&& apt-get clean \
6464
&& rm -rf /var/lib/apt/lists/*
6565

66-
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat'), repos='https://cloud.r-project.org/')" \
66+
RUN Rscript -e "install.packages(c('devtools', 'knitr', 'markdown', 'rmarkdown', 'testthat', 'remotes'), repos='https://cloud.r-project.org/')" \
6767
&& Rscript -e "devtools::install_version('pkgdown', version='2.0.1', repos='https://cloud.r-project.org')" \
6868
&& Rscript -e "devtools::install_version('preferably', version='0.4', repos='https://cloud.r-project.org')" \
6969
&& 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=20260212
27+
ENV FULL_REFRESH_DATE=20260316
2828

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

0 commit comments

Comments
 (0)