Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Error: Pandoc options not recognised #2

Closed
matt-dray opened this issue Mar 28, 2019 · 2 comments
Closed

Error: Pandoc options not recognised #2

matt-dray opened this issue Mar 28, 2019 · 2 comments

Comments

@matt-dray
Copy link

Once #1 was fixed in the template, knitting errored in the following way:

pandoc: unrecognized option `--lua-filter'
unrecognized option `--resource-path'
Try pandoc --help for more information.
Error: pandoc document conversion failed with error 2
Execution halted

Possibly a version issue?

> pandoc_version()
[1] ‘1.19.2.1’
@nacnudus
Copy link
Collaborator

Yes, you need >=2.0. 5939ae7 adds a check.

@TomFranklin
Copy link

I found this code quite useful in updating a pandoc version FYI @matt-dray @nacnudus https://stackoverflow.com/questions/53788391/installrinstall-pandoc-appears-broken

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants