pandocfilters: Pandoc Filters for R

The document converter 'pandoc' <> is widely used in the R community. One feature of 'pandoc' is that it can produce and consume JSON-formatted abstract syntax trees (AST). This allows to transform a given source document into JSON-formatted AST, alter it by so called filters and pass the altered JSON-formatted AST back to 'pandoc'. This package provides functions which allow to write such filters in native R code. Although this package is inspired by the Python package 'pandocfilters' <>, it provides additional convenience functions which make it simple to use the 'pandocfilters' package as a report generator. Since 'pandocfilters' inherits most of it's functionality from 'pandoc' it can create documents in many formats (for more information see <>) but is also bound to the same limitations as 'pandoc'.

Version: 0.1-6
Depends: R (≥ 3.0.0)
Imports: jsonlite, utils
Suggests: knitr
Published: 2022-08-11
DOI: 10.32614/CRAN.package.pandocfilters
Author: Florian Schwendinger [aut, cre], Kurt Hornik [aut], Andrie de Vries [ctb]
Maintainer: Florian Schwendinger <FlorianSchwendinger at>
License: GPL-3
NeedsCompilation: no
SystemRequirements: pandoc (> 1.12)
CRAN checks: pandocfilters results


Reference manual: pandocfilters.pdf
Vignettes: Introduction to the pandocfilters Package


Package source: pandocfilters_0.1-6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): pandocfilters_0.1-6.tgz, r-oldrel (arm64): pandocfilters_0.1-6.tgz, r-release (x86_64): pandocfilters_0.1-6.tgz, r-oldrel (x86_64): pandocfilters_0.1-6.tgz
Old sources: pandocfilters archive


Please use the canonical form to link to this page.