I made a Shiny app, which allows users to download specific plots based on the data they upload. While the app works perfectly on my computer, it fails to download the plots once deployed on Shinyapps.io. One of the downloaded charts is created with flextable::save_as_image(), which makes use of {webshot2}. Based on my conversations with @cderv , this function is the culprit and he is right because when I remove that chart, everything works perfectly. The log message on Shinyapps.io is: 'google-chrome' and 'chromium-browser' were not found. Try setting the CHROMOTE_CHROME environment variable or adding one of these executables to your PATH.
As a {golem} user, I edited my golem-config.yml, which now looks like this:
default:
golem_name: TechEvalsExtractor
golem_version: 0.0.0.9000
app_prod: no
production:
app_prod: yes
CHROMOTE_CHROME: /usr/bin/google-chrome
dev:
golem_wd: F:/Projects/TechEvalsExtractor
But I am still have the same issue. So my question is: how do I configure Google Chrome on Shinyapps.io?
Thank you