'R ShinyApps: Cannot Deploy Application Online, Error Message

looking to better understand this error message:

Preparing to deploy application...DONE
Uploading bundle for application: 5793450...Error in inferAppPrimaryDoc(appPrimaryDoc = appPrimaryDoc, appFiles = appFiles,  : 
  Application mode static requires at least one document.
Calls: <Anonymous> ... withStatus -> force -> bundleApp -> inferAppPrimaryDoc
Execution halted

I'm getting this error whether I'm publishing a simple ShinyApp or my more complex one..not sure how to fix. I've tried this suggestion, but it isn't working. Does anyone have any suggestions for me?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source