tinkr
0.3.1Cast '(R)Markdown' Files to 'XML' and Back Again
Overview
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.
BUG FIX
- list sub-items will no longer be incorrectly indented if the parent item is
an ordered item (reported and fixed: @maelle, #140)
- we now use the air formatter for code in the project (#141)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 18 (7 internal)includes a package overview page
- Examples that run
- 100%17 run in a plain check (3 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 91%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 14
- Median days to close, 50 most recently updated closed PRs
- 3
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
13 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ropensci/tinkr on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.1Latest
- 0.3.02025-05-03 · diff ↗ ·
added 6 exports
get_protected, protect_fences, show_block, show_censor, show_list, to_md_vec - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.2.0
- 0.1.02022-08-19
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-08-19
- Total releases
- 4 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 103 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tinkr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.