In a .Rmd document, if a chunk option has a string containing curly braces, highlighting breaks if the R Markdown grammar is selected. (Latest Atom version and atom-language-r version).
In the following example, the chunk option fig.cap is a string with a LaTeX command using curly braces (\\Cref{s:pilot}).

If the closing brace is removed, highlighting is restored.

In a .Rmd document, if a chunk option has a string containing curly braces, highlighting breaks if the R Markdown grammar is selected. (Latest Atom version and atom-language-r version).
In the following example, the chunk option
fig.capis a string with a LaTeX command using curly braces (\\Cref{s:pilot}).If the closing brace is removed, highlighting is restored.