
OK, I looked at CRAN page and realized the R 4.0 issue.

Package 'mnormt' is not available (for R version 3.6.3) Installation of package 'psych' had non-zero exit status

Warning: dependency 'mnormt' is not availableĬontent type 'application/x-gzip' length 1724122 bytes (1.6 MB)ĮRROR: dependency 'mnormt' is not available for package 'psych' Installing package into '/home/shiny/R/x86_64-pc-linux-gnu-library/3.6' However, psych hasn’t, so trying to install psych results in missing and uninstallable dependencies. To get specific, I was trying to install psych package, which depends on mnormt package, and that package has moved to requiring R > 4.0 already. First, I install the stuff I want, but it turns out some packages on CRAN have already moved to requiring R > 4.0, meaning that the default R version in Ubuntu 20.04 (released in April 2020!) is already outdated to the point of being broken. I am installing R on a new Ubuntu 20.04 VPS.

These errors are typically also hard to find, one has to skim the super long install log in the console to find the 1-3 relevant lines. Not only does it take a long time to compile so many packages, this step typically has to be repeated a few times due to unforeseeable errors. I love R and all, but it’s obnoxious to install. Here’s a whiny post on annoying R features.
