Open takaakimasaki opened 2 years ago
Yep... Can't fix it. I do not know what is the reason. It seems that there is a problem with the pantomJS and webshot packages. I found this issue, but it does not seems that I there will be any help...
I propose to remove download "png" option leaving only HTML.
Here is a similar issue...
Wait a minute! R studio has just developed a new package webshot2! We will use it. It is working also on the secured laptop.
After converting to webshot2
, errors pops up silently in the logs about chromote
package.
2021/11/07 16:22:34.259509185 `google-chrome` and `chromium-browser` were not found. Try setting the CHROMOTE_CHROME environment variable or adding one of these executables to your PATH.
2021/11/07 16:22:34.262425035 Warning: Error in initialize: Invalid path to Chrome
Attempting the following workaround: https://community.rstudio.com/t/how-to-properly-configure-google-chrome-on-shinyapps-io-because-of-webshot2/109020
This workaround does not work. We shall try this one too: https://github.com/RLesur/chrome_print_shiny.
I temporarily remove the png option.
When you download a map from the app, the background is now all blank. It would be nice to have a background from OpenStreetMap as a default.