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:
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')) |
Bug tracker:https://github.com/jgm/pandocfilters/issues
Last updated 2 years agofrom:a7981c7f4c. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 05 2024 |
R-4.5-linux | OK | Dec 05 2024 |
Exports:as.blockas.inlineastrapplyAttrBlockQuoteBulletListCitationCiteCodeCodeBlockDefinitionDefinitionListDivdocumentEmphfilterget_pandoc_pathget_pandoc_types_versionget_pandoc_versionHeaderHorizontalRuleImageis.blockis.inlineLineBreakLinkListAttributesMathNoteNullOrderedListpandoc_from_jsonpandoc_to_jsonParaPlainQuotedRawInlineset_pandoc_pathSmallCapsSoftBreakSpaceSpanStrStrikeoutStrongSubscriptSuperscriptTableTableCellwrite.pandoc
Dependencies:jsonlite