Hi, may I know why this error will occur when I publish my dashboard?
rsconnect::showLogs(appName="COVID19_Dashboard",streaming=TRUE)
2021-04-13T17:42:34.526370+00:00 shinyapps[3957020]: 112: renderPlotly [/srv/connect/apps/COVID19_Dashboard/app.R#583]
2021-04-13T17:42:34.526371+00:00 shinyapps[3957020]: 111: func
2021-04-13T17:42:34.526371+00:00 shinyapps[3957020]: 108: shinyRenderWidget
2021-04-13T17:42:34.526379+00:00 shinyapps[3957020]: 94: renderFunc
2021-04-13T17:42:34.526379+00:00 shinyapps[3957020]: 93: output$linestate
2021-04-13T17:42:34.526384+00:00 shinyapps[3957020]: 12: fn
2021-04-13T17:42:34.526385+00:00 shinyapps[3957020]: 7: connect$retry
2021-04-13T17:42:34.526385+00:00 shinyapps[3957020]: 5: eval
2021-04-13T17:42:34.532900+00:00 shinyapps[3957020]: 113: ggplot
2021-04-13T17:42:34.532901+00:00 shinyapps[3957020]: 112: renderPlotly [/srv/connect/apps/COVID19_Dashboard/app.R#613]
2021-04-13T17:42:34.532901+00:00 shinyapps[3957020]: 111: func
2021-04-13T17:42:34.532902+00:00 shinyapps[3957020]: 108: shinyRenderWidget
2021-04-13T17:42:34.532911+00:00 shinyapps[3957020]: 7: connect$retry
2021-04-13T17:42:34.532912+00:00 shinyapps[3957020]: 6: eval
2021-04-13T17:42:34.532912+00:00 shinyapps[3957020]: 5: eval
2021-04-13T17:42:34.532911+00:00 shinyapps[3957020]: 13: runApp
2021-04-13T17:42:34.532911+00:00 shinyapps[3957020]: 12: fn
2021-04-13T17:42:34.532910+00:00 shinyapps[3957020]: 93: output$stateBarGraph
2021-04-13T17:42:34.526379+00:00 shinyapps[3957020]: 107: func
2021-04-13T17:42:34.526380+00:00 shinyapps[3957020]: 13: runApp
2021-04-13T17:42:34.528778+00:00 shinyapps[3957020]: Warning: Error in ggplot: object 'STATECASES' not found
2021-04-13T17:42:34.526385+00:00 shinyapps[3957020]: 6: eval
2021-04-13T17:42:34.532903+00:00 shinyapps[3957020]: 94: renderFunc
2021-04-13T17:42:34.532902+00:00 shinyapps[3957020]: 107: func
2021-04-13T17:47:39.267844+00:00 shinyapps[3957020]: Warning: Error in ggplot: object 'KELANTAN_DISTRICT' not found
2021-04-13T17:47:39.286090+00:00 shinyapps[3957020]: 113: ggplot
2021-04-13T17:47:39.286093+00:00 shinyapps[3957020]: 112: renderPlotly [/srv/connect/apps/COVID19_Dashboard/app.R#710]
2021-04-13T17:47:39.286093+00:00 shinyapps[3957020]: 111: func
2021-04-13T17:47:39.286094+00:00 shinyapps[3957020]: 107: func
2021-04-13T17:47:39.286094+00:00 shinyapps[3957020]: 108: shinyRenderWidget
2021-04-13T17:47:39.286094+00:00 shinyapps[3957020]: 94: renderFunc
2021-04-13T17:47:39.286095+00:00 shinyapps[3957020]: 93: output$kelantanDistrict
2021-04-13T17:47:39.286095+00:00 shinyapps[3957020]: 13: runApp
2021-04-13T17:47:39.286124+00:00 shinyapps[3957020]: 12: fn
2021-04-13T17:47:39.286126+00:00 shinyapps[3957020]: 7: connect$retry
2021-04-13T17:47:39.286126+00:00 shinyapps[3957020]: 6: eval
2021-04-13T17:47:39.286127+00:00 shinyapps[3957020]: 5: eval
2021-04-13T17:47:39.288858+00:00 shinyapps[3957020]: Warning: Error in exprFunc: object 'KELANTAN' not found
2021-04-13T17:47:39.292912+00:00 shinyapps[3957020]: 115: exprFunc
2021-04-13T17:47:39.292914+00:00 shinyapps[3957020]: 114: widgetFunc
2021-04-13T17:47:39.292914+00:00 shinyapps[3957020]: 113: htmlwidgets::shinyRenderWidget
2021-04-13T17:47:39.292915+00:00 shinyapps[3957020]: 99: renderFunc
2021-04-13T17:47:39.292915+00:00 shinyapps[3957020]: 112: func
2021-04-13T17:47:39.292916+00:00 shinyapps[3957020]: 98: renderFunc
2021-04-13T17:47:39.292916+00:00 shinyapps[3957020]: 94: renderFunc
2021-04-13T17:47:39.292917+00:00 shinyapps[3957020]: 93: output$kelantan
2021-04-13T17:47:39.292917+00:00 shinyapps[3957020]: 13: runApp
2021-04-13T17:47:39.292917+00:00 shinyapps[3957020]: 12: fn
2021-04-13T17:47:39.292918+00:00 shinyapps[3957020]: 7: connect$retry
2021-04-13T17:47:39.292918+00:00 shinyapps[3957020]: 6: eval
2021-04-13T17:47:39.292944+00:00 shinyapps[3957020]: 5: eval
It seems your data is not been loaded successfully, can you show your code? Or even better, a reproducible example (reprex) illustrating your issue? Please have a look at these resources, to see how to create one for a shiny app
Thank you, it works successfully after I reload again.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.