如何为闪亮的部署设置回购,不工作

问题描述

我的 Shiny 应用程序遇到了部署问题。我正在使用一个名为 R-INLA 的非 CRAN 包。可以从这里安装:

install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/testing"),dep=TRUE)

我从部署选项卡收到的错误消息是:

Error: Unhandled Exception: Child Task 855023332 failed: Error building image: Error fetching INLA (21.01.13) source. unable to satisfy package: INLA (21.01.13)
In addition: Warning message:
In FUN(X[[i]],...) :
Package 'INLA 21.01.13' was installed from sources; Packrat will assume this package is available from a CRAN-like repository during future restores
Execution halted

网上和同事建议我将 INLA 存储库添加到我的 .Rprofile,以便在部署时直接从那里下载:

local({
r <- c(INLA = "https://inla.r-inla-download.org/R/testing",CRAN = "https://cloud.r-project.org/")
options(repos = r)
})

不幸的是,它没有奏效!任何帮助/指导都会非常有帮助。

如果您需要更多信息,请告诉我。我使用的是运行 R 4.03 的 Mac,以及 RStudio 1.4.1103 预览版。 _
平台 x86_64-apple-darwin17.0
拱形 x86_64
操作系统 darwin17.0
系统 x86_64,darwin17.0
状态
大四
次要 0.3
2020年
10月
第十天
SVN 修订版 79318
语言R
version.string R 版本 4.0.3 (2020-10-10) 昵称 Bunny-Wunnies Freak Out

谢谢!

乔纳森

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...