【发布时间】:2018-06-23 09:47:58
【问题描述】:
我在部署闪亮的应用程序时收到错误“应用程序无法启动(以代码 1 退出)”。
Preparing to deploy application...DONE
Uploading bundle for application: 365672...DONE
Deploying bundle: 1444503 for application: 365672 ...
Waiting for task: 533366947
building: Parsing manifest
building: Building image: 1457861
building: Fetching packages
building: Installing packages
building: Installing files
building: Pushing image: 1457861
deploying: Starting instances
rollforward: Activating new instances
success: Stopping old instances
Application successfully deployed to
https://programmingrpython.shinyapps.io/shinyapp/
应用程序在本地运行。但是,当我运行应用程序时,我会在控制台中收到这些消息:
The following object is masked from ‘package:ggplot2’:
last_plot
The following object is masked from ‘package:stats’:
filter
The following object is masked from ‘package:graphics’:
layout
Warning in origRenderFunc() :
Ignoring explicitly provided widget ID "52982fb160e2"; Shiny doesn't use them
Warning in origRenderFunc() :
Ignoring explicitly provided widget ID "5298324e516f"; Shiny doesn't use them
我使用的包是:
library(shiny)
library(plotly)
library(data.table)
是因为警告信息吗? 我已关注https://github.com/ropensci/plotly/issues/985,但我仍然收到此警告。
能否请教一下为什么部署后会显示错误消息?
【问题讨论】: