Shiny Publish problem

I have a problem publishing my Rshiny app to
Here is the error:

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

Can someone help me?



At first, I simply execute the shiny.R (the whole code)
Wrong! Try this.

Create two r files under the same directory.
and then executive shiny.R

You would see an amazing thing happen.

But now, I have another problem.

I can publish it, but the app cannot show the graphs.
I check the log and it says,
Warning: Error in : Aesthetics must be either length 1 or the same as the data (1): x, y, label, vjust, fill
Also, there is another warning, Warning in Ops.factor(Year, start) : ‘>=’ not meaningful for factors.

It is pretty strange, because when I run the app on my own laptop, it works super well.

Please help...

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.