My rmarkdown is failing to compile, and the source of the error is the LaTex command \\limits. I used the tinytex package to install
rmarkdown
\\limits
tinytex