Error when installing R-4.0.2 in Debian buster

GuoYu Peng

New Member
Joined
Jul 20, 2020
Messages
2
Reaction score
0
Credits
24
Hello, I need to install R-4.0.2 on docker image python:3.8.5-buster. When executing make check command 2 errors will arise, and I don't know how to solve. The error message is:

running code in 'reg-packages.R' ...make[3]: *** [Makefile.common:108: reg-packages.Rout] Error 1
make[3]: Leaving directory '/App/R-4.0.2/tests'
make[2]: *** [Makefile.common:294: test-Reg] Error 2
make[2]: Leaving directory '/App/R-4.0.2/tests'
make[1]: *** [Makefile.common:173: test-all-basics] Error 1
make[1]: Leaving directory '/App/R-4.0.2/tests'
make: *** [Makefile:306: check] Error 2


This error can reproduce via this Dockerfile:

FROM python:3.8.5-buster

RUN apt-get update && \
apt-get install -y \
build-essential \
r-base-dev \
libatlas3-base \
libpcre2-dev \
default-jdk \
curl \
less \
vim \
wget \

ENV R_VERSION=4.0.2
RUN wget https://cran.r-project.org/src/base/R-4/R-${R_VERSION}.tar.gz \
&& tar -zxf R-${R_VERSION}.tar.gz \
&& cd R-${R_VERSION} \
&& ./configure \
&& make \
&& make check \


Error will occur at make check stage, any help is thankful!
 

Members online


Latest posts

Top