Something is off with the RStudio deb package for Ubuntu 20.04 R4.2.1 (https://cdn.rstudio.com/r/ubuntu-2004/pkgs/r-4.2.1_1_amd64.deb). When I use it to install R, and then try install.packages('dplyr')
, I get these messages:
- installing source package ‘fansi’ ...
** package ‘fansi’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
make: *** No rule to make target 'assumptions.o', needed by 'fansi.so'. Stop.
*** arch - r-4.1.3_1_amd64.deb
Warning in file(con, "r") :
cannot open file '/opt/R/4.2.1/lib/R/etc/r-4.1.3_1_amd64.deb/Makeconf': No such file or directory
Error in file(con, "r") : cannot open the connection- removing ‘/opt/R/4.2.1/lib/R/library/fansi’
For some reason it is looking for file /opt/R/4.2.1/lib/R/etc/r-4.1.3_1_amd64.deb/Makeconf
when compiling.