Error 83: running filter pandoc-citeproc
msoutopico opened this issue · 3 comments
Hi there!
I try to build he book of the "bookdown-demo" example. Following instructions at https://bookdown.org/yihui/bookdown/get-started.html, to do that, I click Build Book in the Build tab in RStudio, but I get the following error:
==> rmarkdown::render_site(encoding = 'UTF-8')
processing file: bookdown-demo.Rmd
|........ | 11%
inline R code fragments
|................ | 22%
label: unnamed-chunk-1 (with options)
List of 1
$ eval: logi FALSE
|....................... | 33%
ordinary text without R code
|............................... | 44%
label: unnamed-chunk-2 (with options)
List of 1
$ include: logi FALSE
|....................................... | 56%
ordinary text without R code
|............................................... | 67%
label: nice-fig (with options)
List of 4
$ fig.cap : chr "Here is a nice figure!"
$ out.width: chr "80%"
$ fig.asp : num 0.75
$ fig.align: chr "center"
|...................................................... | 78%
ordinary text without R code
|.............................................................. | 89%
label: nice-tab (with options)
List of 1
$ tidy: logi FALSE
|......................................................................| 100%
inline R code fragments
output file: bookdown-demo.knit.md
/usr/local/bin/pandoc +RTS -K512m -RTS ./index.split.md ./01-intro.split.md ./02-literature.split.md ./03-method.split.md ./04-application.split.md ./05-summary.split.md ./06-references.split.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output bookdown-demo.html --lua-filter /usr/local/lib/R/site-library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /usr/local/lib/R/site-library/rmarkdown/rmarkdown/lua/latex-div.lua --email-obfuscation none --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /usr/local/lib/R/site-library/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --include-in-header /var/folders/65/y2s3gc8j6m58xqd8bwk_r6kr0000gq/T//Rtmpiqig8i/rmarkdown-str515c7763c353.html --mathjax --file-scope --filter pandoc-citeproc
[WARNING] Deprecated: pandoc-citeproc filter. Use --citeproc instead.
Error running filter pandoc-citeproc:
Could not find executable pandoc-citeproc
Error: pandoc document conversion failed with error 83
Execution halted
What can I do to fix it?
I am using RStudio 1.3.1093 on Mac OS X 10_13_6.
Thanks.
This has been fixed by rstudio/rmarkdown#1916. You can install the development version of rmarkdown via
remotes::install_github('rstudio/rmarkdown')
That said, I guess it was because you installed Pandoc by yourself (via Homebrew?). Since you are using RStudio, you don't need to install Pandoc separately: https://bookdown.org/yihui/rmarkdown-cookbook/install-pandoc.html
Thanks, yihui. I could bypass the issue by closing RStudio and rendering the site on the command line (and installing pandoc-citeproc via Homebrew.
Okay. It will be great if you could test the development version of rmarkdown, though.