Recently I've discovered that I'm unable to build a book on RStudio.cloud which builds fine on my Mac. On rstudio.cloud I get the following error when building the book to bookdown::pdf_book but not when building to bookdown::gitbook.
Error running filter /usr/lib/rstudio-server/bin/pandoc/pandoc-citeproc:
fd:12: hPutBuf: resource vanished (Broken pipe)
Error: pandoc document conversion failed with error 83
Execution halted
Exited with status 1.
Digging around online I find a few other instances of this error:
something to do with python3-pandocfilters:
possibly an issue with Pandoc package versions?
maybe need to downgrade citeproc?
anyone else find a workaround for this or know exactly how the rstudio.cloud team could fix this?
I'm curious if downgrading or upgrading would fix it. Do you have a dummy bookdown you can share? (Is it just a matter of switching the minimal bookdown demo from bookdown::gitbook to bookdown::pdf_book?
I'm trying it out on cloud with the bookdown demo. RMarkdown has pandoc_citeproc_convert() and pandoc_options(), so maybe there's a way to get it so that it's in the path for cloud.
Update I did get the bookdown demo to build here https://rstudio.cloud/project/109623 (open access, so you should be able to get in) It's possible it doesn't use pandoc-citeproc, in which case, I did absolutely nothing.