ERROR: An error has occurred. Check your logs or contact the app author for clarification

拜拜、爱过 提交于 2019-11-29 15:52:06

There are multiple reasons for this error. Rstudio has provided multiple reasons (link below) but most common are:

  1. Environment variables not the same in shiny web vs. local (make sure working directory is set to ~/, start a new rsession and run only the ui.R, server.R or app.R and see if you can preview in local before publishing.)

  2. Update libraries to latest versions and hopefully you are not using the libraries that are not yet available in CRAN.

https://support.rstudio.com/hc/en-us/articles/229848967-Why-does-my-app-work-locally-but-not-on-shinyapps-io-

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!