If you don't need to particularly stick to Miktex, I would advice to use TinyTex distribution that is known to work well with Rmarkdown
In case it may help
If you don't need to particularly stick to Miktex, I would advice to use TinyTex distribution that is known to work well with Rmarkdown
In case it may help