I don't remember we changed anything that could lead to this issue
recently. Anyway, if you are writing a paper, you probably want the
PDF output (pdf_document with keep_tex: yes) instead of HTML.
Another possibility is rmarkdown::render(clean = FALSE) so all
intermediate files will be preserved, but you cannot specify clean =
FALSE in the YAML metadata of an R Markdown document.