LaTeX Syntax Checking or Linting Tool in R Markdown

rmarkdown
rstudio
latex

#1

Is there a LaTeX Syntax Checking or Linting tool for R Markdown in RStudio?

In other words, a tool that highlights / underlines LaTeX syntax errors within R Markdown to catch them easier?

The problem is I commonly have small syntax errors and I don't catch them until I click Knit. This requires R Studio to run all my code (which may be time-consuming) before being able to catch a simple LaTeX syntax error. Is there a way to catch LaTeX earlier?

Thanks in advance