So far I haven´t had any problems kniting to pdf. However, now I´m getting this message.
A new version of TeX Live has been released. If you need to install or update any LaTeX packages, you have to upgrade TinyTeX with tinytex::reinstall_tinytex(). If it fails to upgrade, you might be using a default random CTAN mirror that has not been fully synced to the main CTAN repository, and you need to wait for a few more days or use a CTAN mirror that is known to be up-to-date (see the "repository" argument on the help page ?tinytex::install_tinytex()).
! LaTeX Error: Not in outer par mode.
The thing is, I have MikTex installed, which I suppose is what Rmarkdown has been using so far, and I don´t want to install another software.
Anyhow, I decided to give TinyTex a try, as after updating everything, I kept getting the same error. So I did:
tinytex::reinstall_tinytex()
But I got this message:
Error in system2("tlmgr", args, ...) : '"tlmgr"' not found
Any idea on how to fix this? Preferably if it´s using MikTex.