tinkr
Cast '(R)Markdown' Files to 'XML' and Back Again
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
425
Last 30 days
10082nd
1.4K
Last 90 days
7.4K
Last year
Trend: +15.5% (30d vs prior 30d)
0
Last 30 days
29
Last 90 days
133
Last year
Trend: -100% (30d vs prior 30d)
40
Last 30 days
213
Last 90 days
2.5K
Last year
Trend: -56% (30d vs prior 30d)
CRAN Check Status
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
tests
Running ‘testthat.R’ [5s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tinkr)
>
> test_check("tinkr")
Saving _problems/test-show-68.R
[ FAIL 1 | WARN 0 | SKIP 29 | PASS 213 ]
══ S
...[truncated]...
4. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
5. └─withr::local_pdf(device_path)
6. └─grDevices::pdf(new, ...)
[ FAIL 1 | WARN 0 | SKIP 29 | PASS 213 ]
Error:
! Test failures.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
7,656
Files
103
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
14
Internal functions
78
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
1.41
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
90.9%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
50%
Unsafe pattern score
3
Dep constraint coverage
22.2%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1.0
System requirements
–
C++ standard
–
License
GPL-3
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2022-08-19
Latest release
2025-10-04
Avg cadence
221 days
Cold removal rate
–
Dep drift
4
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.