Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/82.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 将应用程序部署到Shinyapps.io时出现错误消息_R_Shiny - Fatal编程技术网

R 将应用程序部署到Shinyapps.io时出现错误消息

R 将应用程序部署到Shinyapps.io时出现错误消息,r,shiny,R,Shiny,部署我的应用程序(shinyapps::deployApp('path/to/your/app'))时,我收到以下错误消息: error: Parsing manifest ################################## Begin Log ################################## ################################### End Log ################################### E

部署我的应用程序
(shinyapps::deployApp('path/to/your/app')
)时,我收到以下错误消息:

error: Parsing manifest
################################## Begin Log ################################## 
################################### End Log ################################### 
Error: Unhandled Exception: Child Task 30191454 failed: Error parsing manifest: Unsupported locale: it_NA.UTF-8
看起来这和编码有关,因为我来自意大利。但是我没有使用任何奇怪的字符

我尝试了“使用编码保存”>UTF-8。我尝试部署它,但收到了相同的错误消息

它在本地托管时工作良好

用户界面

服务器.R

shinyServer(function(input, output) {
  output$Calculator <- renderText({
  x=1:10000000 
  denominator<-dbinom(input$nofs, size=input$notr, prob=(x/10000000))
  sommadenominator=sum(denominator)
  h1=(input$range[1]*10000000):(input$range[2]*10000000) 
  numerator<-dbinom(input$nofs, size=input$notr, prob=(h1/10000000)) 

  sommanumerator=sum(numerator)

  sommanumerator/sommadenominator
  })
})
shinyServer(功能(输入、输出){

output$Calculator多亏了Andy Kipp,通过修复shinyapps软件包,这个问题得以解决。我不得不重新下载并重新部署应用程序。 具体说明:请通过以下操作更新您的shinyapps软件包:

devtools::install_github('rstudio/shinyapps')
然后试试这个:

options(shinyapps.locale.cache=FALSE)
shinyapps:::systemLocale()

然后在确保已加载刚刚安装的
库(shinyapps)之后,尝试
deployApp()

我也遇到了同样的错误。首先,我尝试使用Davide的答案更新Shining apps软件包,但仍然收到了错误。最后,我删除了在我的目录中自动生成的图标文件,然后我就可以发布了。不过,我还是万不得已,因为我不确定图标文件的作用,也找不到任何引用关于它的争论

options(shinyapps.locale.cache=FALSE)
shinyapps:::systemLocale()