melhzy
November 3, 2020, 7:48pm
1
I have R-4.0.3 installed with rmarkdown 2.5.3. I also installed the latest papaja 0.1.0.9997 package and pandoc 2.11.0.4. However, I was not able to knit the default apa6 template to pdf. I have no idea why. If you guys have any idea?
output file: proposal_template.knit.md
[WARNING] Deprecated: pandoc-citeproc filter. Use --citeproc instead.
Error running filter C:/ProgramData/chocolatey/bin/pandoc-citeproc.exe:
Filter returned error status -1
Error: pandoc document conversion failed with error 83
Execution halted
Allly
November 17, 2020, 1:31pm
2
I also have this problem. Did you find a resolution?
cderv
November 17, 2020, 4:09pm
3
This is an issue with the papaja package.
See my comment in the github repo
opened 05:38PM - 22 Oct 20 UTC
closed 03:06PM - 17 Mar 22 UTC
bug
<!--
If you have questions related to the use of `papaja` StackOverflow has a [… `papaja`-tag](https://stackoverflow.com/questions/tagged/papaja) and is a great place to get answers.
If you think you have found a bug, please ensure your bug report includes all of the information below.
-->
**Describe the bug**
When I try to knit a document that worked perfectly fine before, I now get the following error message:
```
WARNING] Deprecated: pandoc-citeproc filter. Use --citeproc instead.
pandoc-citeproc: Error in $: Incompatible API versions: encoded with [1,22] but attempted to decode with [1,21].
CallStack (from HasCallStack):
error, called at ./Text/Pandoc/JSON.hs:112:48 in pandoc-types-1.21-LpPdBV1sPudK4kVghsVxWs:Text.Pandoc.JSON
Error running filter pandoc-citeproc:
Filter returned error status 1
Error: pandoc document conversion failed with error 83
Execution halted
```
Other files render fine, I am using the latest Pandoc version
pandoc 2.11
This seems to affect only my `papaja` files. In the past I was able to render using RStudio 1.3x or 1.2x. Now this doesn't work either. Exact same error message. So it seems to me it's a `Pandoc` issue that is independent of RStudio but is connected to `papaja`.
Is this correct? If so, can this be fixed?
Thanks for looking into this!
melhzy
November 22, 2020, 7:36pm
4
Your solution works partially for me. However, I ended up uninstalling MikTex and using tinytex::install_tinytex(). Thanks.
system
Closed
November 29, 2020, 7:36pm
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.