I have just installed R version 4.2.2 (2022-10-31 ucrt), under RStudio 2022.07.2 (Build 576), and the rticle package (v 0.24). At this moment, these are the most recent versions of the three systems.
I first tried to compile the basic MDPI template (\New File\R MarkDown\From Template\MDPI Journal Article) and got the following message:
! LaTeX Error: Command \gather already defined.
Or name \end... illegal, see p.192 of the manual.
Erro: LaTeX failed to compile Novo.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Novo.log for more info.
I tried also another file that I was normally compiling a couple of days ago, and got the same message.
Any help or clue of what I might be doing wrong?