r-安装INLA软件包时出现问题



当我运行''install.packages("INLA",repos=c(getOption("repos"(,INLA="https://inla.r-inla-download.org/R/testing"(,dep=TRUE("让我不断给出这个错误:

install.packages中的警告:无法打开URLhttps://inla.r-inla-download.org/R/testing/bin/macosx/contrib/4.0/INLA_21.03.14-2.tgz':HTTP状态为"404未找到">

有人能帮我理解吗?

看起来您同时遇到了网络错误(download length != reported length(和某种安装错误。

我建议尝试像这样直接从他们的GitHubrepo安装包(为此,您需要提前安装devtools(。

library("devtools")
devtools::install_github(repo = "https://github.com/hrue/r-inla", ref = "stable", subdir = "rinla", build = FALSE)

我已经在一台基于Unix的机器上测试过了,它应该可以正常工作。

最新更新