Cannot download PDF reportin shinyapps.io

Are you setting the working directory with an absolute path in your code? Could you make a minimal REPRoducible EXample (reprex) about your issue?
Here is a very useful guide about how to make a reprex for a shiny app