Could anyone please help me with some errors I am getting when trying to knit a markdown document in Rstudio? When trying to knit ANY R markdown document I am getting the error (screenshot also below):
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /usr/local/bin/pandoc Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin Referenced from: /usr/local/bin/pandoc Expected in: /usr/lib/libSystem.B.dylib
Error: pandoc document conversion failed with error 6 Execution halted
I already tried some things such as restarting Rstudio, re-downloading Pandoc, deleting and re-downloading both R and Rstudio and googling the error with no luck. Rstudio gives this error whenever I try to knit ANY markdown file, not just the ones with my code. It is particularly strange because I was knitting R markdown files with no issue a few days ago. Thanks for the help!