Download R markdown report from shiny app and issue with font when application is deployed

I'm reporting a strange behaviour that I found out after deploying my shiny app online. This application gives the users the possibility to download a pdf report generated with R Markdown, using mostly LaTeX sintax. If I use my application locally, I can download the report without problems, but once the app is deployed online, i get an error, and in my Logs I get the message illustrated here.

It seems that the problem is related to the fonts. Inside my report I use the font "Times", loaded in my YAML through this commands:


  • \usepackage{fontspec}
  • \setmainfont{Times}

Is it possible that I have to deploy also this font with my package?


This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.