Closed pasmer closed 4 years ago
Can you provide the repo with code?
Can you provide the repo with code?
Ok! Well I forked your rep and made some changes here: Italy_dash putting all in my Shiny server (I added "runtime: shiny"). I made some tests and if you don't use the map (moving, zooming, etc.) the app seems to be fine. But if you use the map then in the next run (I guess in a new session) you got the error mentioned above.
Actually, I guess the problem is regarding the geo-map function for the Regional section. In order to make other tests I commented the corrispondintg code in the line 333.
I don't know if we could use another map function..
Thanks for your help and suggestion!
Dear Rami, I create a new project on my R Server using your GitHub repository. The only change was adding: runtime: shiny in the header of the rmarkdown file. Maybe it depends on the use of leaflet you used in your code? As: https://github.com/rstudio/leaflet/issues/664#issuecomment-581503072
Running shiny the first time was ok. With a new session I got this error log:
Loading required package: shiny
Listening on http://127.0.0.1:4566 Warning: Error in value[[3L]]: Couldn't normalize path in addResourcePath, with arguments: prefix = 'leaflet-providers-1.9.0'; directoryPath = '/tmp/Rtmp31Vtod' 108: stop 107: value[[3L]] 106: tryCatchOne 105: tryCatchList 104: tryCatch 103: addResourcePath 102: FUN 101: lapply 100: processDeps 99: transform 98: func 96: f 95: Reduce 86: do 85: hybrid_chain 84: origRenderFunc 83: output$reactivedoc 3: 1: rmarkdown::run
Can you help me to understand where is the “bug”? Thanks