I tried to knit a document and received the following error code:
output file: -3--Table-1a--Participant-Characterization-.knit.md
Unknown option -3.
Unknown option ---Table-1a--Participant-Characterization-.knit.md.
Try pandoc --help for more information.
Error: pandoc document conversion failed with error 6
Execution halted
I looked at this thread and it seems that I have the right version of pandoc:
rmarkdown::pandoc_exec()
[1] "/Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/pandoc"
rmarkdown::find_pandoc()
$version
[1] ‘3.1.1’
$dir
[1] "/Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools"
Sys.getenv("RSTUDIO_PANDOC")
[1] "/Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools"