Best practices for using TinyTeX in shiny Applications deployed to Connect

We are working on deploying an application to Connect that uses TinyTeX. Specifically, the application startup contains the code tinytex::install_tinytex(bundle = "TinyTeX"). This causes the app to download a TinyTeX bundle every time it starts up and we have seen transient failures when this doesn't work.

Is there a way to specify the TinyTeX environment at the Connect level or best practices for managing this?

the R package tinytex will make use of any TeX installation on the system. So it is enough to install some TeX installations once in such a way that all RunAs users on Connect have it in their PATH. You could use TinyTeX for that, c.f. 5. in Frequently (?) Asked Questions - Yihui Xie | 谢益辉, or just install standard TeX Live. One of th emajor points for TinyTeX is its ability to install missing TeX packages. i am not convinced that this is super useful on a Connect server, so I am typically installing a recent TeX Live there.