Hi everyone ,
I need to install Hmsc package.
I type install.packages("Hmsc") and Hmsc packages pops up between my packages.
But if I type library(Hmsc) I got this error message
Error: package or namespace load failed for ‘Hmsc’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘quantreg’ .
I try installing quant reg typing install.packages("quantreg") but I got the following error message and the package does not pop up in my packages
There is a binary version available but the source version is later:
-
binary source needs_compilation*
quantreg 5.88 5.93 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
installing the source package ‘quantreg’
trying URL 'https://cran.rstudio.com/src/contrib/quantreg_5.93.tar.gz'
Content type 'application/x-gzip' length 1025022 bytes (1000 KB)
==================================================
downloaded 1000 KB
** installing source package ‘quantreg’ ...*
*** package ‘quantreg’ successfully unpacked and MD5 sums checked*
*** using staged installation*
*** libs*
gfortran -mmacosx-version-min=10.13 -fno-optimize-sibling-calls -fPIC -Wall -g -O2 -c akj.f -o akj.o
make: gfortran: No such file or directory
make: *** [akj.o] Error 1
ERROR: compilation failed for package ‘quantreg’
** removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/quantreg’*
Warning in install.packages :
- installation of package ‘quantreg’ had non-zero exit status*
The downloaded source packages are in
- ‘/private/var/folders/ly/sqspckhn1jq35lrxxr76402m0000gn/T/Rtmp6m2TCK/downloaded_packages’*
and I try typing again library(Hmsc) I got the same error message
Error: package or namespace load failed for ‘Hmsc’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘quantreg’ .
I would be really grateful if anyone could help me
Thanks everyone