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")[[1]] : 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.
Running rmarkdown::find_pandoc() makes R run for a couple of minutes (literally), so long, in fact, that I had to interrupt the process. R told me that it had difficulty interrupting the child process.
Had to force a reinstall of pandoc, but after that, the bookdown-demo project built fine. Now back to the source of the book I really wanted to build, where I'm gettting a different error…