Rmarkdown pandoc-cite error

Ubuntu 20.04, Rstudio Version 1.2.5042, R version 4.0.0 (SessionInfo below), pandoc version 2.5, TexLive version 2019.20200218-1.

I am a complete newbie with rmark down so I probably am doing something stupid.

Problem with pandoc-cite:

Error running filter pandoc-citeproc:
Could not find executable pandoc-citeproc
Error: pandoc document conversion failed with error 83
Execution halted

The file will compile without citations. I have tested the .bib file in LyX so, at the moment, I am assuming it is valid. I am using a full isntallation of TexLive, however I did an installation of tinytex today (2020-05-16 12:30) and I am getting the same results.

I have tried to compile to pdf_document and html_document and get the same error.

I see that there is a pandoc 2.9.2.1. Should I consider an upgrade?

sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale:
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C LC_TIME=en_CA.UTF-8
[4] LC_COLLATE=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_MESSAGES=en_CA.UTF-8
[7] LC_PAPER=en_CA.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_4.0.0 tools_4.0.0

Welcome to the community.

Might be a silly question, but did you install the extension? Pandoc does, to the best of my knowledge, not include the citeproc extension (although I am on a Mac, so might be different on Ubuntu). Can you run Pandoc successfully outside RStudio?

Also, probably does not hurt to upgrade:

https://pandoc.org/installing.html

Might be a silly question
It was such a silly question that I installed "pandoc-citeproc" and things seem to work!

I had suspected that might be the problem, misread the pandoc documentation and decided I was wrong. Trying to install "pandoc-cite" rather than "pandoc-citeproc" at one point probably did not help.

Many thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.