问题
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