Package: pandocfilters 0.1-6

Florian Schwendinger

pandocfilters: Pandoc Filters for R

The document converter 'pandoc' <https://pandoc.org/> 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' <https://github.com/jgm/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 <https://pandoc.org/>) but is also bound to the same limitations as 'pandoc'.

Authors:Florian Schwendinger [aut, cre], Kurt Hornik [aut], Andrie de Vries [ctb]

pandocfilters_0.1-6.tar.gz
pandocfilters_0.1-6.tar.gz(r-4.5-noble)pandocfilters_0.1-6.tar.gz(r-4.4-noble)
pandocfilters_0.1-6.tgz(r-4.4-emscripten)pandocfilters_0.1-6.tgz(r-4.3-emscripten)
pandocfilters.pdf |pandocfilters.html
pandocfilters/json (API)

# Install 'pandocfilters' in R:
install.packages('pandocfilters', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jgm/pandocfilters/issues

2.80 score 63 scripts 261 downloads 50 exports 1 dependencies

Last updated 2 years agofrom:a7981c7f4c. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 05 2024
R-4.5-linuxOKDec 05 2024

Exports:as.blockas.inlineastrapplyAttrBlockQuoteBulletListCitationCiteCodeCodeBlockDefinitionDefinitionListDivdocumentEmphfilterget_pandoc_pathget_pandoc_types_versionget_pandoc_versionHeaderHorizontalRuleImageis.blockis.inlineLineBreakLinkListAttributesMathNoteNullOrderedListpandoc_from_jsonpandoc_to_jsonParaPlainQuotedRawInlineset_pandoc_pathSmallCapsSoftBreakSpaceSpanStrStrikeoutStrongSubscriptSuperscriptTableTableCellwrite.pandoc

Dependencies:jsonlite

Introduction to the pandocfilters Package

Rendered frompandocfilters.Rnwusingknitr::knitron Dec 05 2024.

Last update: 2022-05-06
Started: 2019-06-17