Skip to content

frontmatter

Parse Front Matter from Documents

v0.2.0 · Feb 9, 2026 · MIT + file LICENSE

Description

Extracts and parses structured metadata ('YAML' or 'TOML') from the beginning of text documents. Front matter is a common pattern in 'Quarto' documents, 'R Markdown' documents, static site generators, documentation systems, content management tools and even 'Python' and 'R' scripts where metadata is placed at the top of a document, separated from the main content by delimiter fences.

Downloads

850

Last 30 days

4219th

1.6K

Last 90 days

1.6K

Last year

Trend: +85.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

btw

Dependency Network

Dependencies Reverse dependencies cpp11 rlang tomledit yaml12 btw frontmatter

Version History

new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.0 diff Feb 8, 2026
new 0.1.0 Jan 13, 2026