Package: parsermd 0.1.2.9000

Colin Rundel

parsermd: Formal Parser and Related Tools for R Markdown Documents

An implementation of a formal grammar and parser for R Markdown documents using the Boost Spirit X3 library. It also includes a collection of high level functions for working with the resulting abstract syntax tree.

Authors:Colin Rundel [aut, cre]

parsermd_0.1.2.9000.tar.gz
parsermd_0.1.2.9000.zip(r-4.7)parsermd_0.1.2.9000.zip(r-4.6)parsermd_0.1.2.9000.zip(r-4.5)
parsermd_0.1.2.9000.tgz(r-4.6-x86_64)parsermd_0.1.2.9000.tgz(r-4.6-arm64)parsermd_0.1.2.9000.tgz(r-4.5-x86_64)parsermd_0.1.2.9000.tgz(r-4.5-arm64)
parsermd_0.1.2.9000.tar.gz(r-4.7-arm64)parsermd_0.1.2.9000.tar.gz(r-4.7-x86_64)parsermd_0.1.2.9000.tar.gz(r-4.6-arm64)parsermd_0.1.2.9000.tar.gz(r-4.6-x86_64)
parsermd_0.1.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
parsermd/json (API)
NEWS

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

Bug tracker:https://github.com/rundel/parsermd/issues

Pkgdown/docs site:https://rundel.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

4.96 score 1 stars 3 packages 66 scripts 1.5k downloads 32 exports 55 dependencies

Last updated from:7547919e60 (on nocpp). Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK154
linux-devel-x86_64OK159
source / vignettesOK251
linux-release-arm64OK194
linux-release-x86_64OK181
macos-release-arm64OK155
macos-release-x86_64OK308
macos-oldrel-arm64OK97
macos-oldrel-x86_64OK328
windows-develOK146
windows-releaseOK138
windows-oldrelOK141
wasm-releaseOK138

Exports:%>%as_astas_documentas_tibbleby_sectionhas_labelhas_optionhas_typeparse_rmdrenderrmd_check_templatermd_get_chunkrmd_get_markdownrmd_get_nodermd_get_optionsrmd_has_chunkrmd_has_markdownrmd_has_nodermd_node_attrrmd_node_codermd_node_contentrmd_node_enginermd_node_labelrmd_node_lengthrmd_node_optionsrmd_node_sectionsrmd_node_typermd_selectrmd_set_optionsrmd_sourcermd_subsetrmd_template

Dependencies:backportsbase64encBHbitbit64bslibcachemcheckmateclicliprcpp11crayondigestdplyrevaluatefastmapfontawesomefsgenericsgluehighrhmshtmltoolsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimepillarpkgconfigprettyunitsprogresspurrrR6rappdirsRcppreadrrlangrmarkdownsassstringistringrtibbletidyrtidyselecttinytextzdbutf8vctrsvroomwithrxfunyaml

Getting Started

Rendered fromparsermd.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2021-07-12
Started: 2020-09-07

Rmd Templates

Rendered fromtemplates.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2021-04-27
Started: 2020-09-07

Readme and manuals

Help Manual

Help pageTopics
Stuffparsermd-package parsermd
Convert an object into an 'rmd_ast'.as_ast
Convert an 'rmd_ast', 'rmd_tibble', or any ast node into text.as_document
Get and set code chunk optionschunk_options rmd_get_options rmd_set_options
Parse an R Markdown documentparse_rmd
Render 'parsermd' objects using 'rmarkdown::render()'render
Check an Rmd against a templatermd_check_template
rmd node utility functionsrmd_node rmd_node_attr rmd_node_code rmd_node_content rmd_node_engine rmd_node_label rmd_node_length rmd_node_options rmd_node_type
Find the sections for each rmd object nodermd_node_sections
Select nodes of an Rmd astrmd_select
Rmd selection helper functionsby_section has_label has_option has_type rmd_select_helpers
Source the code chunks of an Rmd documentrmd_source
Subset the nodes of an rmd objectrmd_subset
rmd_subset utility functionsrmd_get_chunk rmd_get_markdown rmd_get_node rmd_has_chunk rmd_has_markdown rmd_has_node rmd_subset_util
Create a template from an 'rmd' object.rmd_template