Skip to content

tinkr

0.3.1

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

0packages depend
6.3Kdownloads / year
98.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3.1

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

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.1
READMEYes · 1,045 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.3.1Citation fileNoWebsiteYes · pkgdown
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

6.3K
CRAN downloads in the past year
Rank #5,110 · ~17/day · ~527/mo
Daily download trend is not available in this view yet.
56630 days
1.6K90 days
6.3K1 year
Compare downloads with other packages →
Also on107 r2u1.7K conda_forge

Repository

62Stars
7Forks
26Open issues
9Open PRs
3Releases
454Commits
4Commit identities
rr-packagerstatsxpathcommonmarkxml
License file reads as GPL-3.0 · 454 commits · Last activity 2026-06-01 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-09-12 · 602026-07-07 · 62
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conduct (inherited from ropensci)Contributing guideIssue templatesPR template
Docs source (2)
README.Rmdpkgdown
Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (2)
AirRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing tinkr adds 12 packages (10 with compiled code, 5.3 MB of source tarballs). Heaviest: Rcpp 1.8 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (6)
Author, Maintainer since 0.1.0 (2022)
Contributor
Copyright holder
Nick Wellnhofer wrote the XSLT stylesheet.
Funder
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.1Latest
    record
    2025-10-04 · current release · diff ↗
  • 0.3.0
    record
    2025-05-03 · diff ↗ ·
    added 6 exports
    get_protected, protect_fences, show_block, show_censor, show_list, to_md_vec
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0
    record
    2023-03-28 · diff ↗ ·
    added 1 export
    protect_curly
  • 0.1.0
    record
    2022-08-19
  • R
    R 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")
Kamvar, Z. N., rOpenSci, Daengeli, P., Ooms, J., Salmon, M., & Wellnhofer, N. (2025). tinkr: Cast '(R)Markdown' Files to 'XML' and Back Again (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tinkr version 0.3.1 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy