Skip to content

Commit 6555467

Browse files
committed
Updates for 4.6.0
1 parent 6107c08 commit 6555467

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

fedora/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ RUN \
88
# Remove this when fixed: https://github.com/r-lib/pak/issues/787
99
RUN \
1010
yum install -y https://github.com/r-lib/rig/releases/download/latest/r-rig-latest-1.$(arch).rpm && \
11-
rig add 4.5.2 --without-pak
11+
rig add 4.6.0 --without-pak
1212

13-
ENV PATH="/opt/R/4.5.2/bin:${PATH}"
13+
ENV PATH="/opt/R/4.6.0/bin:${PATH}"
1414

1515
COPY Renviron /usr/lib64/R/etc/Renviron.site
16-
COPY Renviron /opt/R/4.5.2/lib/R/etc/Renviron.site
16+
COPY Renviron /opt/R/4.6.0/lib/R/etc/Renviron.site
1717

rocky-9/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ RUN \
1010
# Remove this when fixed: https://github.com/r-lib/pak/issues/787
1111
RUN \
1212
yum install -y https://github.com/r-lib/rig/releases/download/latest/r-rig-latest-1.$(arch).rpm && \
13-
rig add 4.5.2 --without-pak
13+
rig add 4.6.0 --without-pak
1414

15-
ENV PATH="/opt/R/4.5.2/bin:${PATH}"
15+
ENV PATH="/opt/R/4.6.0/bin:${PATH}"
1616

1717
COPY Renviron /usr/lib64/R/etc/Renviron.site

ubuntu-22.04/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ RUN echo "deb [trusted=yes] https://cloud.r-project.org/bin/linux/ubuntu $(lsb_r
1212
apt -yq install language-pack-en-base cloc curl parallel vim wget r-base-dev &&\
1313
apt clean
1414

15+
RUN R -e "stopifnot(getRversion() >= '4.6')"
16+
1517
ENV LC_ALL=en_US.UTF-8
1618
ENV LANG=en_US.UTF-8
1719

ubuntu-24.04/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ RUN apt -yq update &&\
66
apt -yq dist-upgrade &&\
77
apt -yq install lsb-release apt-transport-https ca-certificates
88

9-
RUN echo "deb [trusted=yes] https://ppa.launchpadcontent.net/cran/r-4.6/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/cran.list && \
9+
RUN echo "deb [trusted=yes] https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -sc)-cran40/" > /etc/apt/sources.list.d/cran.list && \
1010
apt -yq update &&\
1111
apt -yq dist-upgrade &&\
1212
apt -yq install language-pack-en-base cloc curl parallel vim wget r-base-dev &&\
1313
apt clean
1414

15+
RUN R -e "stopifnot(getRversion() >= '4.6')"
16+
1517
ENV LC_ALL=en_US.UTF-8
1618
ENV LANG=en_US.UTF-8
1719

ubuntu-26.04/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ RUN apt -yq update &&\
66
apt -yq dist-upgrade &&\
77
apt -yq install lsb-release apt-transport-https ca-certificates
88

9-
RUN echo "deb [trusted=yes] https://ppa.launchpadcontent.net/cran/r-4.6/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/cran.list && \
9+
RUN echo "deb [trusted=yes] https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -sc)-cran40/" > /etc/apt/sources.list.d/cran.list && \
1010
apt -yq update &&\
1111
apt -yq dist-upgrade &&\
1212
apt -yq install language-pack-en-base cloc curl parallel vim wget r-base-dev &&\
1313
apt clean
1414

15+
RUN R -e "stopifnot(getRversion() >= '4.6')"
16+
1517
ENV LC_ALL=en_US.UTF-8
1618
ENV LANG=en_US.UTF-8
1719

0 commit comments

Comments
 (0)