Hi all,
I need to download the LMERConvenienceFunctions package but get error saying spam isn't downloaded. But spam won't download either. I have copied error message below:
> library(LMERConvenienceFunctions)
Error: package or namespace load failed for ‘LMERConvenienceFunctions’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘spam’
> install.packages("spam")
There is a binary version available but the source version is later:
binary source needs_compilation
spam 2.5-1 2.6-0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘spam’
trying URL 'https://cran.rstudio.com/src/contrib/spam_2.6-0.tar.gz'
Content type 'application/x-gzip' length 1789093 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
* installing *source* package ‘spam’ ...
** package ‘spam’ 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 bckslvmodified.f -o bckslvmodified.o
make: gfortran: No such file or directory
make: *** [bckslvmodified.o] Error 1
ERROR: compilation failed for package ‘spam’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/spam’
Warning in install.packages :
installation of package ‘spam’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/r9/5tsxl31n4s151fpmkpj9txp40000gn/T/RtmplmL0tW/downloaded_packages’