Shinyapps:与服务器断开连接

时间:2019-05-10 18:34:57

标签: r shiny r-leaflet

当我部署Shiny应用程序时,日志中会出现以下错误:

2019-05-10T18:06:12.616369+00:00 shinyapps[533693]:   there is no package called ‘leaflet.minicharts’
2019-05-10T18:09:31.759973+00:00 shinyapps[533693]: Server version: 1.7.2-7
2019-05-10T18:09:31.759999+00:00 shinyapps[533693]: LANG: pt_BR.UTF-8
2019-05-10T18:09:31.760000+00:00 shinyapps[533693]: R version: 3.5.3
2019-05-10T18:09:31.760007+00:00 shinyapps[533693]: shiny version: 1.2.0
2019-05-10T18:09:31.760008+00:00 shinyapps[533693]: httpuv version: 1.5.0
2019-05-10T18:09:31.760014+00:00 shinyapps[533693]: rmarkdown version: NA
2019-05-10T18:09:31.760015+00:00 shinyapps[533693]: knitr version: NA
2019-05-10T18:09:31.760046+00:00 shinyapps[533693]: htmltools version: 0.3.6
2019-05-10T18:09:31.760239+00:00 shinyapps[533693]: Using pandoc at /opt/connect/ext/pandoc2
2019-05-10T18:09:31.760020+00:00 shinyapps[533693]: jsonlite version: 1.6
2019-05-10T18:09:31.760045+00:00 shinyapps[533693]: RJSONIO version: NA
2019-05-10T18:09:31.923629+00:00 shinyapps[533693]: Using jsonlite for JSON processing
2019-05-10T18:09:31.928764+00:00 shinyapps[533693]: 
2019-05-10T18:09:31.928766+00:00 shinyapps[533693]: Starting R with process ID: '19'
2019-05-10T18:09:34.365063+00:00 shinyapps[533693]: 
2019-05-10T18:09:34.365067+00:00 shinyapps[533693]: 
2019-05-10T18:09:34.365066+00:00 shinyapps[533693]: Attaching package: ‘dplyr’
2019-05-10T18:09:34.365786+00:00 shinyapps[533693]: The following objects are masked from ‘package:stats’:
2019-05-10T18:09:34.365788+00:00 shinyapps[533693]: 
2019-05-10T18:09:34.365789+00:00 shinyapps[533693]:     filter, lag
2019-05-10T18:09:34.365790+00:00 shinyapps[533693]: 
2019-05-10T18:09:34.367018+00:00 shinyapps[533693]: 
2019-05-10T18:09:34.372806+00:00 shinyapps[533693]: Warning in abep(dados_enem, paviment, agua) :
2019-05-10T18:09:34.367017+00:00 shinyapps[533693]:     intersect, setdiff, setequal, union
2019-05-10T18:09:34.367015+00:00 shinyapps[533693]: The following objects are masked from ‘package:base’:
2019-05-10T18:09:34.367016+00:00 shinyapps[533693]: 
2019-05-10T18:09:34.372818+00:00 shinyapps[533693]:   NAs introduzidos por coerção
2019-05-10T18:09:34.881696+00:00 shinyapps[533693]: 
2019-05-10T18:09:34.881699+00:00 shinyapps[533693]: Listening on http://127.0.0.1:37801
2019-05-10T18:09:40.139715+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.139718+00:00 shinyapps[533693]: Attaching package: ‘plotly’
2019-05-10T18:09:39.899589+00:00 shinyapps[533693]: Carregando pacotes exigidos: ggplot2
2019-05-10T18:09:40.139719+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.140126+00:00 shinyapps[533693]: The following object is masked from ‘package:ggplot2’:
2019-05-10T18:09:40.140128+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.140128+00:00 shinyapps[533693]:     last_plot
2019-05-10T18:09:40.140129+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.141036+00:00 shinyapps[533693]: The following object is masked from ‘package:stats’:
2019-05-10T18:09:40.141039+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.141039+00:00 shinyapps[533693]:     filter
2019-05-10T18:09:40.141038+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.141672+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.141673+00:00 shinyapps[533693]:     layout
2019-05-10T18:09:40.141674+00:00 shinyapps[533693]: 
2019-05-10T18:09:40.141671+00:00 shinyapps[533693]: The following object is masked from ‘package:graphics’:
2019-05-10T18:09:46.576258+00:00 shinyapps[533693]: Warning: Error in library: there is no package called ‘leaflet.minicharts’
2019-05-10T18:09:46.581023+00:00 shinyapps[533693]:   there is no package called ‘leaflet.minicharts’
2019-05-10T18:09:46.580805+00:00 shinyapps[533693]:   63: stop
2019-05-10T18:09:46.581021+00:00 shinyapps[533693]: Error in library("leaflet.minicharts") : 
2019-05-10T18:09:46.580807+00:00 shinyapps[533693]:   62: library

我认为该错误与编码有关,但是我不知道该如何解决。我将Options()中的编码更改为“ UTF-8”,但无效。

0 个答案:

没有答案