Closed ondohotola closed 10 months ago
Thanks for the suggestion! That's exactly what we do in the R function: https://github.com/rstudio/tinytex/blob/a39c87c677446b8555affeefb0c540ad0f8bc9c5/R/install.R#L298-L310
If not (re)installing TinyTeX via the R function, we also tell users how to install previously installed packages: https://github.com/rstudio/tinytex/blob/a39c87c677446b8555affeefb0c540ad0f8bc9c5/tools/install-bin-unix.sh#L7-L13
For Chocolatey users, packages are also automatically reinstalled: https://github.com/rstudio/tinytex-releases/blob/master/choco/tools/chocolateybeforemodify.ps1
I use MacTeX BasicTeX which is also a smaller version of TexLive and as I don't want to lose the additionally installed packages I do something like
and then after upgrading
ignoring the error (cause by the already installed packages).
That might be useful for TinyTeX upgrades as well.