Quarto and Rmarkdown are different frameworks, so you'll want to use the right function to render the document.
If you are currently using rmarkdown::render()
to produce this document, you should switch to using quarto::quarto_render()
. See docs for this function here. That way, all the quarto processing and features should work. If that doesn't fix it, then we can troubleshoot further.