Single line equations written as:
are translated to:
in the .tex document.
For a correct enumeration in the final .pdf document however, the translation must be:
\begin{equation}
y = x^2
\end{equation}
A manual change in the .tex document and the knitting of the the corrected document fixes the problem. Nevertheless, an automized version is most likely preferable 😁