Skip to content

tinkr

Cast '(R)Markdown' Files to 'XML' and Back Again

v0.3.1 · Oct 4, 2025 · GPL-3

Description

Parsing '(R)Markdown' files with numerous regular expressions can be fraught with peril, but it does not have to be this way. Converting '(R)Markdown' files to 'XML' using the 'commonmark' package allows in-memory editing via of 'markdown' elements via 'XPath' through the extensible 'R6' class called 'yarn'. These modified 'XML' representations can be written to '(R)Markdown' documents via an 'xslt' stylesheet which implements an extended version of 'GitHub'-flavoured 'markdown' so that you can tinker to your hearts content.

Downloads

802

Last 30 days

4455th

1.8K

Last 90 days

7.8K

Last year

Trend: +60.7% (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

Dependency Network

Dependencies Reverse dependencies commonmark glue lifecycle magrittr purrr R6 rlang xml2 xslt tinkr

Version History

new 0.3.1 Mar 10, 2026
updated 0.3.1 ← 0.3.0 diff Oct 3, 2025
updated 0.3.0 ← 0.2.0 diff May 2, 2025
updated 0.2.0 ← 0.1.0 diff Mar 27, 2023
new 0.1.0 Aug 18, 2022