How to solve deployment error on shinnyappsio?

左心房为你撑大大i 提交于 2021-01-27 13:01:46

问题


I am trying to deploy my dashboard from Rstudio IDE by clicking Publish, but it returned me below error message:

Error in inferAppPrimaryDoc(appPrimaryDoc = appPrimaryDoc, appFiles = appFiles, : Application mode static requires at least one document. Calls: ... withStatus -> force -> bundleApp -> inferAppPrimaryDoc Execution halted

When I checked my shinyappsio dashboard, the apps was uploaded there but when clicked the url it showed 202 not found.

Can someone help me to solve this issue?

Thanks


回答1:


Create a new app.R file in a separate directory with all dependent files, copy paste the r-script and then re-publish.

Rstudio > File > New File > Shiny Web App



来源:https://stackoverflow.com/questions/53390180/how-to-solve-deployment-error-on-shinnyappsio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!