Description of problem: the R in the latest rpm is still 3.6.0, a lot of packages cannot be installed. Version-Release number of selected component (if applicable): https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm How reproducible: Steps to Reproduce: 1. install rpm, install R (yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install R) 2.go to R in RH, type "version" - 3.6.0 3. try to install the package of 'mnormt': error massage pops up. Actual results: Expected results: update base R version in rpm, so we can install packages Additional info:
Nothing to do with rpm.
EPEL-7's toolchain is too old to properly support more recent versions of R. It is possible to build newer R versions using the "devtoolset" toolchains (either v8 or v9), but because of how R works, R assumes it can set the compiler flags to match that toolchain. On EPEL-7, the system toolchain does not support those compiler flags, and thus, R modules installed from CRAN will fail in odd ways. Since EPEL packages are not permitted to depend upon devtoolset (only build with them), there is no good way to support a current R package for EPEL-7. My recommendation for you is to strongly consider moving to RHEL/CentOS 8, which has none of these issues.