Good day my lovely ones, I am trying to deploy a shiny app so that my colleagues can have access to it but keep getting this error:
please what can I do?
Preparing to deploy application...DONE
Uploading bundle for application: 2528761...Error in inferAppPrimaryDoc(appPrimaryDoc = appPrimaryDoc, appFiles = appFiles, :
Application mode static requires at least one document.
Calls: ... withStatus -> force -> bundleApp -> inferAppPrimaryDoc
Execution halted
there are some problems, first the title (there is a red warning for you about that.
Secondly best practice is to decide if you want an app.R based shiny app, or a ui.R+server.R app. (of course you can source in additional .R files, but for the shiny functionality to work nicer, one of these two standards is best kept to. Its a problem that you have only a ui.R in the folder root
check the logs in the shinyapps.io management console.
or use rsconnet::showLogs() function in your local R console, use the streaming option. and then try it on shinyapps.io your local session should get the log streamed to it.
I found this as the error log, I dont know if i am to include install.packages() for all libraries on the server code of the published app or what could be the possible cause of the connection failure?