How do I deploy shiny application effectively without hitting Publish button? - r

When I try to deploy a Shiny application using the rsconnect in a script as below:
rsconnect::deployApp("D:/InterestingTasks/meterreadings/meterreading/") I get an error from shiny server stating:
Error: An error has occurred. Check your logs or contact the app author for clarification.
The application makes use of two .rds datasets in the folder where the .rmd resides.
Any leads?

Related

Shiny application works fine locally, but I've an error when I publish it in shinyapps.io(Contact the author)

## Shiny application works fine locally, but I've an error when I publish it in shinyapps.io
## An error has occurred
## The application failed to start. Contact the author for more information.)
enter link description here

Error while deploying Shiny app to RStudio Connect

While trying to deploy a Shiny app on RStudio Connect I receive the following error:
----- Deployment error -----
Error: HTTP 500
GET http://10.80.40.13:3939/__api__/tasks/YUJMyIjVyh3Pm87i?first_status=487
<h1>An error has occurred</h1>
<p id="message">database is locked</p>
The server is not under heavy load and currently there are only 5 users and one app on the server.
I tried a few steps from here. Killed the process using the db. I then moved connect.db to another location and then copied it back to /var/lib/rstudio-connect/db/. After this step I could not even login to RStudio Connect. I did an integrity check on connect.db and found it to be ok butt still no joy. Next, I restored the db to a previous version. I am able to login now but while deploying the Shiny app, still receiving the same error.
The app I am trying to deploy has already been successfully deployed on the server. What I am trying to deploy now is a modified version of the same app, with the only change being an addition of a pickerInput().

Shiny-app error: The application failed to start. The application exited during initialization

I have a shiny server on which I have deployed two apps. They run fine. I tried to deploy a third app using exactly the same protocol and when I try to invoke from its url I get this error:
The application failed to start.
The application exited during initialization.
I examined the file permissions for the app.R file for all three apps and they are identical. I also see nothing in the log file (var/log/shiny-server) hat points to an obvious problem. Any ideas?

R shiny app showing package error

I have developed a shiny app using R. When i run the app in the local server it runs well but after installing shiny server in a different remote server when i run the app it shows error:there is no library called 'xyz'
Please help!.

Develop a shiny app login locally

I want to develop a shiny app with login, which later should be hosted on Shinyapps.io (STANDARD).
How can I develope/debug the app locally without having Shiny Server Pro or uploading the app to Shinyapps.io every time.
Running the code displayed here.
I of course get the following message:
ERROR: This application is designed to be run in Shiny Server Pro and to require authentication.

Resources