Polished Hosting
beta
PDF Generation
Shiny apps often generate PDF documents using R Markdown. To generate R Markdown PDF documents on Polished Hosting, set the
tlmgr
argument of
deploy_app()
.
Set the
tlmgr
argument to a character vector of all LaTeX packages used in the generation of your PDF report(s). All LaTeX packages passed to the
tlmgr
argument will be installed during the deployment process, so your users will not have to wait on any LaTeX package installations while generating reports.
To make sure you pre install all your LaTeX package dependencies, do the following:
- Deploy your app to Polished Hosting
- Generate a PDF report
- Check your logs on dashboard.polished.tech for any LaTeX package installations
- Pass all installed packages to the
tlmgr
argument - Redeploy to Polished Hosting
- Enjoy speedy PDF report generations
Next Steps
Go to the next page for info on deploying R Markdown documents secured with
polished
.