Shiny application successfully deployed but opens to “Error : You must register an account using setAccountInfo prior to proceeding.”

牧云@^-^@ 提交于 2021-02-08 10:40:36

问题


I successfully deployed my first app following the the instructions on http://shiny.rstudio.com/articles/shinyapps.html.

I then successfully deployed my second app.

I decided to make some changes to my first application. I archived and deleted the application, created a new R file of the app and then tried to deploy it. Everything works well and I see the following message in the "Deploy" window:

Application successfully deployed to https://hessamss2.shinyapps.io/icu_infection

However, when the app page pops up, what I see is the following error message: "ERROR: You must register an account using setAccountInfo prior to proceeding."


回答1:


You need to run the rsconnect::setAccountInfo(name='', token='', secret='') line first before deploying the app.

You can find this code at https://www.shinyapps.io/admin/#/tokens in your shiny app account



来源:https://stackoverflow.com/questions/32940660/shiny-application-successfully-deployed-but-opens-to-error-you-must-register

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