I am trying to install the survminer package but I get a non-zero exit status. It may be due to the jpeg package which is a pre-requisite but this also fails when installing independently.
install.packages("survminer", repos = "https://cran.microsoft.com/snapshot/2022-06-24/")
The resulting error is as follows:
* installing *source* package โSparseMโ ...
** package โSparseMโ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran -fno-optimize-sibling-calls -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -c bckslv.f -o bckslv.o
gfortran -fno-optimize-sibling-calls -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -c chol.f -o chol.o
gfortran -fno-optimize-sibling-calls -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -c chol2csr.f -o chol2csr.o
gfortran -fno-optimize-sibling-calls -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -c cholesky.f -o cholesky.o
cholesky.f:2948:72:
.....................
Warning in utils::install.packages(pkgs, ...) :
installation of package โjpegโ had non-zero exit status
Warning in utils::install.packages(pkgs, ...) :
installation of package โgridtextโ had non-zero exit status
Warning in utils::install.packages(pkgs, ...) :
installation of package โggtextโ had non-zero exit status
Warning in utils::install.packages(pkgs, ...) :
installation of package โsurvminerโ had non-zero exit status
The downloaded source packages are in
โ/tmp/RtmpugpJqZ/downloaded_packagesโ