gpt4 book ai didi

R Shiny -错误 : there is no package called ‘shinyjs’

转载 作者:行者123 更新时间:2023-12-04 17:48:35 26 4
gpt4 key购买 nike

当我在本地运行我的应用程序时它完美运行,但是当我将它托管在 shinyapps.io 时出现此错误:

An error has occurred

The application failed to start.

Error in value[3L] : there is no package called ‘shinyjs’Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> Anonymous

我还有两个在线应用程序,它们具有相同的 ui.Rserver.R 布局,并且都运行良好。即使我避免了涉及 shinyjs 的代码,它也会在浏览器中显示应用程序,但应用程序日志中会出现相同的错误,包 openxlsx。其他两个运行完美的几乎相同的应用程序让我完全迷失了方向。

最佳答案

根据我的经验,问题发生在带有 DESCRIPTION 文件的 RStudio 项目中,当有问题的包(例如 shinyjs)不包含在 DESCRIPTION 的 Imports 部分时文件。

关于R Shiny -错误 : there is no package called ‘shinyjs’ ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46982593/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com