File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# Remove this when fixed: https://github.com/r-lib/pak/issues/787
99RUN \
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
1515COPY 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
Original file line number Diff line number Diff line change 1010# Remove this when fixed: https://github.com/r-lib/pak/issues/787
1111RUN \
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
1717COPY Renviron /usr/lib64/R/etc/Renviron.site
Original file line number Diff line number Diff 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+
1517ENV LC_ALL=en_US.UTF-8
1618ENV LANG=en_US.UTF-8
1719
Original file line number Diff line number Diff 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+
1517ENV LC_ALL=en_US.UTF-8
1618ENV LANG=en_US.UTF-8
1719
Original file line number Diff line number Diff 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+
1517ENV LC_ALL=en_US.UTF-8
1618ENV LANG=en_US.UTF-8
1719
You can’t perform that action at this time.
0 commit comments