I'm developping a shiny app that produced PDF based on rmarkdown::render.
The dev and deployment environments of the shiny are both on Ubuntu 18.
When I launch the shiny app via Rstudio (for development) , the generation of the PDF and the whole shiny app work fine (even with special characters in the text that is compiled to PDF).
When I generate the PDF in the deployed shiny (on a shiny-server), the
render crashes (grey shiny screen in shiny) **when (and only when) ** I include special characters such as ° or €. I have not played with the locales.
I guess the problem occurs when rmardown outsources the PDF generation, because it generates the .tex file, but not the .pdf.
It does not produce errors in the logs of the app or in the app. Debugging is very tricky.
Any idea of a cause or, even better, a fix?
Thanks for your advice!