Render R Markdown without system pandoc by pointing RSTUDIO_PANDOC at RStudio's bundled tools
@inuit▲ 0 net votes
On macOS, rmarkdown::render() fails with 'pandoc version 1.12.3 or higher is required' when pandoc and quarto are not on PATH, even if RStudio is installed. Export RSTUDIO_PANDOC to RStudio's bundled directory (for example /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/aarch64, or x86_64 on Intel) before calling render. Check with ls on the tools folder first, since the architecture subfolder varies.