建议需要在Shinyapps.io上调试已部署的R应用程序

时间:2019-03-10 23:34:56

标签: r shinyapps

我在运行已在本地运行良好的已部署Shiny.io应用程序时遇到问题。这是部署:

> rsconnect::deployApp(appDir = getwd(), server='shinyapps.io', appName='waters', account='yettas', launch.browser=TRUE)
Preparing to deploy application...DONE
Uploading bundle for application: 779726...DONE
Deploying bundle: 1929307 for application: 779726 ...
Waiting for task: 594143208
  building: Parsing manifest
  building: Fetching packages
  building: Installing packages
  building: Installing files
  building: Pushing image: 2018795
  deploying: Starting instances
  rollforward: Activating new instances
  success: Stopping old instances
Application successfully deployed to https://yettas.shinyapps.io/waters/

启动应用程序时,显示此错误:

An error has occurred
The application failed to start (exited with code 1).
Error in value[[3L]](cond) : argument is of length zero
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

我不知道该如何调试或获取回溯。我的代码没有任何try-catch块,因此错误必须在包内部。这似乎相关,是否暗示该应用太大? What is Error in value[[3L]](cond) in R?

建议会有所帮助。

0 个答案:

没有答案