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.
Version: |
0.2.0 |
Imports: |
commonmark (≥ 1.6), glue, magrittr, purrr, R6, xml2, xslt, yaml |
Suggests: |
knitr, rmarkdown, covr, testthat (≥ 3.0.0), withr |
Published: |
2023-03-28 |
DOI: |
10.32614/CRAN.package.tinkr |
Author: |
Maƫlle Salmon
[aut],
Zhian N. Kamvar
[aut, cre],
Jeroen Ooms [aut],
Nick Wellnhofer [cph] (Nick Wellnhofer wrote the XSLT stylesheet.),
rOpenSci [fnd] (https://ropensci.org/),
Peter Daengeli [ctb] |
Maintainer: |
Zhian N. Kamvar <zkamvar at gmail.com> |
BugReports: |
https://github.com/ropensci/tinkr/issues |
License: |
GPL-3 |
URL: |
https://docs.ropensci.org/tinkr/,
https://github.com/ropensci/tinkr |
NeedsCompilation: |
no |
Materials: |
README NEWS |
CRAN checks: |
tinkr results |