Check whether pandoc and pandoc-citeproc are available

.check_pandoc(ignore_pandoc)

Arguments

ignore_pandoc

Logical. If TRUE, just give a warning if one of pandoc or pandoc-citeproc is not available. If FALSE, an error is thrown.

Value

No value is returned. If pandoc or pandoc-citeproc are missing, either warning or error messages are triggered.

Details

Credits to the original implementation proposed by Charlotte Soneson, upon which this function is heavily inspired.