I'm trying to install the INLA
package of the R-INLA project on a Linux based computing cluster. The package is not on CRAN. According to their tutorial, it suffices to use
install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE)
for installation, which works perfectly fine on my local machine. However, on the computing cluster, seemingly a CRAN mirror is required to run this command and I get the following error:
Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror
Calls: install.packages -> startsWith -> contrib.url
Execution halted
As an alternative, I tried to install the package directly from the corresponding GitHub repository using devtools
. For some reason, this gives me the obviously incorrect version number INLA_99.99.9999
. This prohibits me from manually adding the necessary binaries via INLA:::inla.binary.install()
as the version number is not found. Any help is appreciated!