Hi, I am getting this error when trying to install the car package. Does anyone know what it means or how I can download this package?
install.packages("car")
also installing the dependency ‘quantreg’
There are binary versions available but the source versions are later:
binary source needs_compilation
quantreg 5.67 5.70 TRUE
car 3.0-9 3.0-10 FALSE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source packages ‘quantreg’, ‘car’
trying URL 'https://cran.rstudio.com/src/contrib/quantreg_5.70.tar.gz'
Content type 'application/x-gzip' length 1002194 bytes (978 KB)
downloaded 978 KB
trying URL 'https://cran.rstudio.com/src/contrib/car_3.0-10.tar.gz'
Content type 'application/x-gzip' length 501293 bytes (489 KB)
downloaded 489 KB
- installing source package ‘quantreg’ ...
** package ‘quantreg’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran -fPIC -Wall -g -O2 -c boot.f -o boot.o
make: gfortran: No such file or directory
make: *** [boot.o] Error 1
ERROR: compilation failed for package ‘quantreg’ - removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/quantreg’
Warning in install.packages :
installation of package ‘quantreg’ had non-zero exit status
ERROR: dependency ‘quantreg’ is not available for package ‘car’ - removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/car’
Warning in install.packages :
installation of package ‘car’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/bb/vhmwjmzj49n5bf35_ytmr_5c0000gp/T/RtmpCtyvnu/downloaded_packages’
library(car)
Error in library(car) : there is no package called ‘car’
Thanks.