{
  "_id": "69e09c12c5259ad4cd90de12",
  "Package": "tinkr",
  "Title": "Cast '(R)Markdown' Files to 'XML' and Back Again",
  "Version": "0.3.0",
  "Authors@R": "c(person(given = \"Maëlle\",\nfamily = \"Salmon\",\nrole = c(\"aut\"),\nemail = \"msmaellesalmon@gmail.com\",\ncomment = c(ORCID = \"0000-0002-2815-0399\")),\nperson(given = \"Zhian N.\",\nfamily = \"Kamvar\",\nrole = c(\"aut\", \"cre\"),\nemail = \"zkamvar@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1458-7108\")),\nperson(given = \"Jeroen\",\nfamily = \"Ooms\",\nrole = \"aut\"),\nperson(given = \"Nick\",\nfamily = \"Wellnhofer\",\nrole = \"cph\",\ncomment = \"Nick Wellnhofer wrote the XSLT stylesheet.\"),\nperson(given = \"rOpenSci\",\nrole = \"fnd\",\ncomment = c(ROR = \"019jywm96\")),\nperson(given = \"Peter\",\nfamily = \"Daengeli\",\nrole = \"ctb\"))",
  "Description": "Parsing '(R)Markdown' files with numerous regular\nexpressions can be fraught with peril, but it does not have to\nbe this way. Converting '(R)Markdown' files to 'XML' using the\n'commonmark' package allows in-memory editing via of 'markdown'\nelements via 'XPath' through the extensible 'R6' class called\n'yarn'. These modified 'XML' representations can be written to\n'(R)Markdown' documents via an 'xslt' stylesheet which\nimplements an extended version of 'GitHub'-flavoured 'markdown'\nso that you can tinker to your hearts content.",
  "License": "GPL-3",
  "URL": "https://docs.ropensci.org/tinkr/,\nhttps://github.com/ropensci/tinkr",
  "BugReports": "https://github.com/ropensci/tinkr/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"collate\", \"rd\",\n\"namespace\", \"devtag::dev_roclet\"))",
  "RoxygenNote": "7.3.2.9000",
  "VignetteBuilder": "knitr",
  "Config/Needs/build": "moodymudskipper/devtag",
  "Language": "en-US",
  "Config/pak/sysreqs": "libxml2-dev libxslt-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2025-09-30 14:53:35 UTC",
  "RemoteUrl": "https://github.com/ropensci/tinkr",
  "RemoteRef": "main",
  "RemoteSha": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-04-16 08:18:02 UTC",
    "User": "root"
  },
  "Author": "Maëlle Salmon [aut] (ORCID: <https://orcid.org/0000-0002-2815-0399>),\nZhian N. Kamvar [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1458-7108>),\nJeroen Ooms [aut],\nNick Wellnhofer [cph] (Nick Wellnhofer wrote the XSLT stylesheet.),\nrOpenSci [fnd] (ROR: <https://ror.org/019jywm96>),\nPeter Daengeli [ctb]",
  "Maintainer": "Zhian N. Kamvar <zkamvar@gmail.com>",
  "MD5sum": "3b1b84828be79ca6af7d8f326d7b9ca4",
  "_user": "ropensci",
  "_type": "src",
  "_file": "tinkr_0.3.0.tar.gz",
  "_fileid": "e81ee470899e4860bad50611e9e14a42f26813cfcb675edf6266fd0df9f727d9",
  "_filesize": 248923,
  "_sha256": "e81ee470899e4860bad50611e9e14a42f26813cfcb675edf6266fd0df9f727d9",
  "_created": "2026-04-16T08:18:02.000Z",
  "_published": "2026-04-16T08:21:38.467Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 71603248144,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6468911497"
    },
    {
      "job": 71603248145,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6468914960"
    },
    {
      "job": 71603248194,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6468900365"
    },
    {
      "job": 71603248177,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6468892964"
    },
    {
      "job": 71602669048,
      "time": 266,
      "config": "pkgdown",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "6468873344"
    },
    {
      "job": 71602669053,
      "time": 252,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6468869436"
    },
    {
      "job": 71603248166,
      "time": 172,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6468916548"
    },
    {
      "job": 71603248171,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6468896919"
    },
    {
      "job": 71603248154,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6468895450"
    },
    {
      "job": 71603248153,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6468894011"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/tinkr",
  "_commit": {
    "id": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
    "author": "Zhian N. Kamvar <zkamvar@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #141 from ropensci/znk/format\n\nuse air formatting",
    "time": 1759244015
  },
  "_maintainer": {
    "name": "Zhian N. Kamvar",
    "email": "zkamvar@gmail.com",
    "login": "zkamvar",
    "mastodon": "@zkamvar@hachyderm.io",
    "linkedin": "in/zkamvar",
    "orcid": "0000-0003-1458-7108",
    "uuid": 3639446
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "commonmark",
      "version": ">= 1.6",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.5",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "xslt",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2025-19",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "commonmark",
    "xml",
    "xpath"
  ],
  "_stars": 62,
  "_contributors": [
    {
      "user": "zkamvar",
      "count": 311,
      "uuid": 3639446
    },
    {
      "user": "maelle",
      "count": 118,
      "uuid": 8360597
    },
    {
      "user": "jeroen",
      "count": 3,
      "uuid": 216319
    },
    {
      "user": "jennybc",
      "count": 1,
      "uuid": 599454
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 740,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tinkr"
  },
  "_devurl": "https://github.com/ropensci/tinkr",
  "_pkgdown": "https://docs.ropensci.org/tinkr/",
  "_searchresults": 4,
  "_metadata": {
    "ropensci_category": "scalereprod"
  },
  "_rbuild": "4.5.3",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tinkr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/tinkr",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-08-19"
    },
    {
      "version": "0.2.0",
      "date": "2023-03-28"
    },
    {
      "version": "0.3.0",
      "date": "2025-05-03"
    },
    {
      "version": "0.3.1",
      "date": "2025-10-04"
    }
  ],
  "_exports": [
    "find_between",
    "get_protected",
    "md_ns",
    "protect_curly",
    "protect_fences",
    "protect_math",
    "show_block",
    "show_censor",
    "show_list",
    "stylesheet",
    "to_md",
    "to_md_vec",
    "to_xml",
    "yarn"
  ],
  "_help": [
    {
      "page": "find_between",
      "title": "Find between a pattern",
      "topics": [
        "find_between"
      ]
    },
    {
      "page": "get_protected",
      "title": "Get protected nodes",
      "topics": [
        "get_protected"
      ]
    },
    {
      "page": "md_ns",
      "title": "Aliased namespace prefix for commonmark",
      "topics": [
        "md_ns"
      ]
    },
    {
      "page": "protect_curly",
      "title": "Protect curly elements for further processing",
      "topics": [
        "protect_curly"
      ]
    },
    {
      "page": "protect_fences",
      "title": "Protect fences of Pandoc fences divs for further processing",
      "topics": [
        "protect_fences"
      ]
    },
    {
      "page": "protect_math",
      "title": "Protect math elements from commonmark's character escape",
      "topics": [
        "protect_math"
      ]
    },
    {
      "page": "show",
      "title": "Display a node or nodelist as markdown",
      "topics": [
        "show_block",
        "show_censor",
        "show_list"
      ]
    },
    {
      "page": "stylesheet",
      "title": "The tinkr stylesheet",
      "topics": [
        "stylesheet"
      ]
    },
    {
      "page": "to_md",
      "title": "Write front-matter (YAML, TOML or JSON) and XML back to disk as (R)Markdown",
      "topics": [
        "to_md",
        "to_md_vec"
      ]
    },
    {
      "page": "to_xml",
      "title": "Transform file to XML",
      "topics": [
        "to_xml"
      ]
    },
    {
      "page": "yarn",
      "title": "R6 class containing XML representation of Markdown",
      "topics": [
        "yarn"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/tinkr/raw/main/README.md",
  "_rundeps": [
    "cli",
    "commonmark",
    "glue",
    "lifecycle",
    "magrittr",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "vctrs",
    "xml2",
    "xslt"
  ],
  "_vignettes": [
    {
      "source": "tinkr.Rmd",
      "filename": "tinkr.html",
      "title": "Introduction to the tinkr package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Use Cases",
        "Workflow",
        "Examples",
        "Markdown",
        "R Markdown",
        "Inserting new Markdown elements",
        "Background / pre-requisites",
        "Loss of Markdown style",
        "General principles and solution",
        "The special case of tables",
        "LaTeX equations"
      ],
      "created": "2021-05-27 06:34:34",
      "modified": "2021-05-27 06:34:34",
      "commits": 1
    }
  ],
  "_score": 7.825815444985204,
  "_indexed": true,
  "_nocasepkg": "tinkr",
  "_universes": [
    "ropensci",
    "zkamvar"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-04-16T08:20:37.000Z",
      "distro": "noble",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "50a63a55302fe68b650889b155c912c798a5a070fe7afa74e1be905e97ecb061",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    },
    {
      "r": "4.5.3",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-04-16T08:20:51.000Z",
      "distro": "noble",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "518a926483443598a57f0389b805cf5f765cdbdc01246f32bef5d661e37f556f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-04-16T08:19:58.000Z",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "06fe6b5e8432fb2528557e4c78d48a21c20c3c7b66e4a03cb9697a0331e47272",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-04-16T08:19:34.000Z",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "c6feaae0c3c68863659882b9a53a30e20e5643698757deef17f9952668f2cef9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-04-16T08:21:16.000Z",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "e39a72ec9d916277938c134d01aff8cdb5e1b2a0667b0a186387100ffaf0d164",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-04-16T08:19:34.000Z",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "74090c5a713a9a07b7bea6674a3eb0c77974aad75b0d333ca1b23184a64c5ca1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-04-16T08:19:29.000Z",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "695574bfbc8436210fafd0f20718c711aef4c52de30fcb67dc77de4cb3b92818",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-04-16T08:19:23.000Z",
      "commit": "638ff1dd70768fb8b3a3e4b2d26ef370bc6c1811",
      "fileid": "93c7a6b5d85f3d9e9cd88a18a004805985a44fb549cf45ba32e0337766d9ad44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24499577250"
    }
  ]
}