Shiny App running on local computer but on Shinyapps.io it does not run any data manipulation. Shows no error.

I am working on making an application to determine number of trees to be planted to offset carbon. It is a combination of flex board and story board where the application walk user through every step and give a cost benefit analysis.

My app is working on my local computer. Once I publish it on Shiny
https://mynewshinyapp.shinyapps.io/storyboard_goel/?_ga=2.44077156.1713991941.1594774021-1648084249.1582823449
the dashboard does not give any errors but it is not running any analysis.

I am attaching link to my GitHub ( the storyboard_goel.rmd under storyboard folder runs perfectly) https://github.com/sunaynagoel/urbanforest_CBA/tree/master/story%20board

I would appreciate any help.

Did you check the app run logs on shinyapps.io? This will show any console error messages. I usually write a lot of runtime messages to the console to assist in debugging.

Also there is a javascript console if you click Ctrl-Shift-J in the browser, which may give some information.

Problems when moving from RStudio to the web are often caused when the app can't find the data file.

I did check the run log. there is no error there as well. Here is a copy of app run log

2020-07-16T01:16:25.578375+00:00 shinyapps[2551071]: Server version: 1.8.4-11
2020-07-16T01:16:25.571129+00:00 shinyapps[2551071]: Running on host: 2e9298cbd8a6
2020-07-16T01:16:25.578383+00:00 shinyapps[2551071]: LANG: en_US.UTF-8
2020-07-16T01:16:25.578415+00:00 shinyapps[2551071]: R version: 3.6.1
2020-07-16T01:16:25.578423+00:00 shinyapps[2551071]: shiny version: 1.4.0.2
2020-07-16T01:16:25.578427+00:00 shinyapps[2551071]: httpuv version: 1.5.2.9000
2020-07-16T01:16:25.578478+00:00 shinyapps[2551071]: htmltools version: 0.4.0.9003
2020-07-16T01:16:25.728963+00:00 shinyapps[2551071]: Using jsonlite for JSON processing
2020-07-16T01:16:25.578478+00:00 shinyapps[2551071]: RJSONIO version: (none)
2020-07-16T01:16:25.578477+00:00 shinyapps[2551071]: knitr version: 1.28
2020-07-16T01:16:25.738695+00:00 shinyapps[2551071]:
2020-07-16T01:16:25.578456+00:00 shinyapps[2551071]: rmarkdown version: 2.1
2020-07-16T01:16:25.578712+00:00 shinyapps[2551071]: Using pandoc: /opt/connect/ext/pandoc2
2020-07-16T01:16:25.738697+00:00 shinyapps[2551071]: Starting R with process ID: '129'
2020-07-16T01:16:25.578477+00:00 shinyapps[2551071]: jsonlite version: 1.6.1
2020-07-16T01:16:25.797087+00:00 shinyapps[2551071]:
2020-07-16T01:16:25.797088+00:00 shinyapps[2551071]: Listening on http://127.0.0.1:36760
2020-07-16T01:18:13.658635+00:00 shinyapps[2551071]: Running on host: 2e9298cbd8a6
2020-07-16T01:18:13.665748+00:00 shinyapps[2551071]: Server version: 1.8.4-11
2020-07-16T01:18:13.665810+00:00 shinyapps[2551071]: rmarkdown version: 2.1
2020-07-16T01:18:13.665816+00:00 shinyapps[2551071]: knitr version: 1.28
2020-07-16T01:18:13.665821+00:00 shinyapps[2551071]: jsonlite version: 1.6.1
2020-07-16T01:18:13.665756+00:00 shinyapps[2551071]: LANG: en_US.UTF-8
2020-07-16T01:18:13.665786+00:00 shinyapps[2551071]: R version: 3.6.1
2020-07-16T01:18:13.665804+00:00 shinyapps[2551071]: shiny version: 1.4.0.2
2020-07-16T01:18:13.665810+00:00 shinyapps[2551071]: httpuv version: 1.5.2.9000
2020-07-16T01:18:13.665827+00:00 shinyapps[2551071]: RJSONIO version: (none)
2020-07-16T01:18:13.665838+00:00 shinyapps[2551071]: htmltools version: 0.4.0.9003
2020-07-16T01:18:13.666072+00:00 shinyapps[2551071]: Using pandoc: /opt/connect/ext/pandoc2
2020-07-16T01:18:13.807058+00:00 shinyapps[2551071]: Using jsonlite for JSON processing
2020-07-16T01:18:13.815980+00:00 shinyapps[2551071]:
2020-07-16T01:18:13.815981+00:00 shinyapps[2551071]: Starting R with process ID: '169'
2020-07-16T01:18:13.873697+00:00 shinyapps[2551071]:
2020-07-16T01:18:13.873698+00:00 shinyapps[2551071]: Listening on
2020-07-16T01:19:46.081262+00:00 shinyapps[2551071]: R version: 3.6.1
2020-07-16T01:19:46.081293+00:00 shinyapps[2551071]: rmarkdown version: 2.1
2020-07-16T01:19:46.081270+00:00 shinyapps[2551071]: shiny version: 1.4.0.2
2020-07-16T01:19:46.081304+00:00 shinyapps[2551071]: knitr version: 1.28
2020-07-16T01:19:46.073839+00:00 shinyapps[2551071]: Running on host: 2e9298cbd8a6
2020-07-16T01:19:46.081224+00:00 shinyapps[2551071]: Server version: 1.8.4-11
2020-07-16T01:19:46.081234+00:00 shinyapps[2551071]: LANG: en_US.UTF-8
2020-07-16T01:19:46.081274+00:00 shinyapps[2551071]: httpuv version: 1.5.2.9000
2020-07-16T01:19:46.081305+00:00 shinyapps[2551071]: jsonlite version: 1.6.1
2020-07-16T01:19:46.081310+00:00 shinyapps[2551071]: RJSONIO version: (none)
2020-07-16T01:19:46.081331+00:00 shinyapps[2551071]: htmltools version: 0.4.0.9003
2020-07-16T01:19:46.081560+00:00 shinyapps[2551071]: Using pandoc: /opt/connect/ext/pandoc2
2020-07-16T01:19:46.231949+00:00 shinyapps[2551071]: Using jsonlite for JSON processing
2020-07-16T01:19:46.242476+00:00 shinyapps[2551071]:
2020-07-16T01:19:46.242477+00:00 shinyapps[2551071]: Starting R with process ID: '209'
2020-07-16T01:19:46.304090+00:00 shinyapps[2551071]:
2020-07-16T01:19:46.304091+00:00 shinyapps[2551071]: Listening on http://127.0.0.1:45088

I'm guessing the above log came from the shinyapps management console, which I'm not too fond off...
If so, it may be better to use the rsconnect::showlogs function with streaming parameter in your local R console , and then browse to the url in your browser, and then check in your local R console what happened.

Thanks for the input. Here is the log from local R console. I am not able to spot any abnormality.
|..................................................... | 76%
2020-07-16T15:57:35.503711+00:00 shinyapps[2551071]: label: unnamed-chunk-10
2020-07-16T15:57:35.525513+00:00 shinyapps[2551071]: label: unnamed-chunk-12 (with options)
2020-07-16T15:57:35.533199+00:00 shinyapps[2551071]: fig.height: num 5 |.............................................. | 66% |........................................................ | 79% 2020-07-16T15:57:35.525633+00:00 shinyapps[2551071]: List of 1 2020-07-16T15:57:35.533209+00:00 shinyapps[2551071]: 2020-07-16T15:57:35.498921+00:00 shinyapps[2551071]: 2020-07-16T15:57:35.518392+00:00 shinyapps[2551071]: 2020-07-16T15:57:35.526101+00:00 shinyapps[2551071]: 2020-07-16T15:57:35.538206+00:00 shinyapps[2551071]: ordinary text without R code 2020-07-16T15:57:35.518392+00:00 shinyapps[2551071]: ordinary text without R code 2020-07-16T15:57:35.526091+00:00 shinyapps[2551071]: fig.height: num 5
|......................................................................| 100%
|.......................................................... | 83%
|................................................................. | 93%
2020-07-16T15:57:35.538212+00:00 shinyapps[2551071]:
2020-07-16T15:57:35.518790+00:00 shinyapps[2551071]: label: unnamed-chunk-11
2020-07-16T15:57:35.532235+00:00 shinyapps[2551071]: ordinary text without R code
2020-07-16T15:57:35.538354+00:00 shinyapps[2551071]:
|............................................................ | 86%
2020-07-16T15:57:35.532236+00:00 shinyapps[2551071]:
2020-07-16T15:57:35.541228+00:00 shinyapps[2551071]: output file: /tmp/shiny/rmarkdown/f54e193e418d32af2691d2bb5715bed4/storyboard_goel.knit.md
2020-07-16T15:57:35.525099+00:00 shinyapps[2551071]:
2020-07-16T15:57:35.532632+00:00 shinyapps[2551071]: label: unnamed-chunk-13 (with options)
2020-07-16T15:57:35.557149+00:00 shinyapps[2551071]: /opt/connect/ext/pandoc2/pandoc +RTS -K512m -RTS /tmp/shiny/rmarkdown/f54e193e418d32af2691d2bb5715bed4/storyboard_goel.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/shiny/rmarkdown/f54e193e418d32af2691d2bb5715bed4/rmd_f54e193e418d32af2691d2bb5715bed4.html --email-obfuscation none --standalone --section-divs --template /opt/R/3.6.1/lib/R/library/flexdashboard/rmarkdown/templates/flex_dashboard/resources/default.html --include-in-header /tmp/Rtmp3sXws3/rmarkdown-str1816ab830d.html --id-prefix section- --variable 'theme:cosmo' --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --lua-filter /opt/R/3.6.1/lib/R/library/rmarkdown/rmd/lua/pagebreak.lua --lua-filter /opt/R/3.6.1/lib/R/library/rmarkdown/rmd/lua/latex-div.lua --include-in-header /tmp/Rtmp3sXws3/file181aaa56e7html --include-after-body /tmp/Rtmp3sXws3/file1864de919.html --highlight-style pygments --include-before-body /tmp/Rtmp3sXws3/file187d97a3f2.html --include-after-body /tmp/Rtmp3sXws3/file181bbfa030.html
2020-07-16T15:57:35.525098+00:00 shinyapps[2551071]: ordinary text without R code
|.................................................................... | 97%
2020-07-16T15:57:35.541229+00:00 shinyapps[2551071]:
|............................................................... | 90%
2020-07-16T15:57:35.532754+00:00 shinyapps[2551071]: List of 1
2020-07-16T15:57:35.763338+00:00 shinyapps[2551071]:
2020-07-16T15:57:35.763340+00:00 shinyapps[2551071]: Output created: /tmp/shiny/rmarkdown/f54e193e418d32af2691d2bb5715bed4/rmd_f54e193e418d32af2691d2bb5715bed4.html
2020-07-16T15:58:03.665905+00:00 shinyapps[2551071]: Running on host: 6be11b833c58
2020-07-16T15:58:03.671652+00:00 shinyapps[2551071]: Server version: 1.8.4-11
2020-07-16T15:58:03.671667+00:00 shinyapps[2551071]: shiny version: 1.4.0.2
2020-07-16T15:58:03.671665+00:00 shinyapps[2551071]: R version: 3.6.1
2020-07-16T15:58:03.671667+00:00 shinyapps[2551071]: httpuv version: 1.5.2.9000
2020-07-16T15:58:03.671678+00:00 shinyapps[2551071]: knitr version: 1.28
2020-07-16T15:58:03.671677+00:00 shinyapps[2551071]: rmarkdown version: 2.1
2020-07-16T15:58:03.671663+00:00 shinyapps[2551071]: LANG: en_US.UTF-8
2020-07-16T15:58:03.671686+00:00 shinyapps[2551071]: jsonlite version: 1.6.1
2020-07-16T15:58:03.671692+00:00 shinyapps[2551071]: RJSONIO version: (none)
2020-07-16T15:58:03.671712+00:00 shinyapps[2551071]: htmltools version: 0.4.0.9003
2020-07-16T15:58:03.671973+00:00 shinyapps[2551071]: Using pandoc: /opt/connect/ext/pandoc2
2020-07-16T15:58:03.793220+00:00 shinyapps[2551071]: Using jsonlite for JSON processing
2020-07-16T15:58:03.801417+00:00 shinyapps[2551071]:
2020-07-16T15:58:03.801418+00:00 shinyapps[2551071]: Starting R with process ID: '81'
2020-07-16T15:58:03.851277+00:00 shinyapps[2551071]:
2020-07-16T15:58:03.851278+00:00 shinyapps[2551071]: Listening on http://127.0.0.1:36308

This topic was automatically closed 54 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.