I'm workign on a W10 computer, with latest versions or RStudio, R, pandoc (installed via chocolatey) and tinytex.
I was trying to compile a book project, and it kept kicking an error at me. So to isolate, I downloaded the bookdown-demo project and tried to compile that. Same error. So I assume it's somethign in my setup.
Running the Build All in the RStudio IDE eventually kicks back the following.
==> rmarkdown::render_site(encoding = 'UTF-8') Error in strsplit(info, "\n")[] : subscript out of bounds Calls: <Anonymous> ... <Anonymous> -> find_pandoc -> lapply -> FUN -> get_pandoc_version In addition: Warning message: In system(paste(shQuote(path), "--version"), intern = TRUE) : running command '"C:/PROGRA~3/chocolatey/bin/pandoc.exe" --version' had status 65535 Execution halted Exited with status 1.
How can I troubleshoot this?