r – Shiny app to rmd: Emergency stop in LaTeX failed to compile, .tex not empty

Issue (reprex at bottom): Want to download dynamic reports from shiny app to rmd then knit pdf options(tinytex.verbose = TRUE) gives me: “C:/Program Files/RStudio/bin/quarto/bin/pandoc” +RTS -K512m -RTS report.knit.md –to latex –from markdown+autolink_bare_uris+tex_math_single_backslash –output pandoc4788153d65c7.tex –lua-filter “C:UsersToadstoolAppDataLocalRwin-library4.2rmarkdownrmarkdownluapagebreak.lua” –lua-filter “C:UsersToadstoolAppDataLocalRwin-library4.2rmarkdownrmarkdownlualatex-div.lua” –self-contained –highlight-style tango –pdf-engine pdflatex –variable graphics –variable “geometry:margin=1in” This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) … Read more