Rstudio can't knit. Missing `tblrlibrotating.sty`

I updated Rstudio and TinyTex, now it can't knit. Every time I click knit (even with the default .qmd file), I get:

updating existing packages
finding package for tblrlibrotating.sty
ERROR: 
compilation failed- no matching packages
LaTeX Error: File `tblrlibrotating.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.151 \UseTblrLibrary{rotating}
                               ^^M
*** (cannot \read from terminal in nonstop modes)

 

see FILE.log for more information.

It'll do the running xelatex -1, then get stuck. To add insult to injury, the quarto created tex file perfecting knits with TexShop on my Mac.

Help? :slight_smile:

You need to install this Latex package.

It runs on the Mac because you have a full TexShop latex installation.
Personally, assuming enough disc space, I't get rid of TinyTex and do a full Latex installation.

That fixed everything thank you.

For anyone else who runs into this issue:

  1. run tinytex::uninstall_tinytex()
  2. Go to global options (in tools on the toolbar) --> Sweave --> unclick the tinytex default --> change 'Typset LaTeX into PDF using' to pdfLaTeX.

Then it'll knit!

I'm getting the same problem, but I'm not using a mac, so the options that have been given don't work for me. Tinytex seems unable to find tblrlibrotating.sty anywhere. What should I do? I know there's a solution to this problem that works on Windows because I managed to find a workaround for this problem a few weeks ago, but I can't remember what it was.

My somewhat drastic approach(Kill tinytex and install a full LaTeX installation ) should work for any operating system. If not,then you need to install that specific LaTeX package. either in tinytex or in your LaTeX installation.