When I tried to knit Rmarkdown file to a work file, I got an error like this:
sh: /usr/local/bin/pandoc: Bad CPU type in executable Error in strsplit(info, "\n")[1] : subscript out of bounds Calls: ... pandoc_available -> find_pandoc -> lapply -> FUN -> get_pandoc_version In addition: Warning message: In system(paste(shQuote(path), "--version"), intern = TRUE) : running command ''/usr/local/bin/pandoc' --version' had status 126 Execution halted
Before, I can knit it. I didn't make any changes in settings but failed now. I use MacBook and my Rstudio version is 1.2.5019.