{
  "_id": "6a17d881acfb0bcc41d9b022",
  "Package": "tinkr",
  "Title": "Cast '(R)Markdown' Files to 'XML' and Back Again",
  "Version": "0.2.0.9002",
  "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",
  "Config/pak/sysreqs": "libxml2-dev libxslt-dev",
  "Repository": "https://carpentries.r-universe.dev",
  "Date/Publication": "2025-03-04 15:27:39 UTC",
  "RemoteUrl": "https://github.com/ropensci/tinkr",
  "RemoteRef": "maelle-patch-1",
  "RemoteSha": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 07:19:45 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": "8a5c7b3e2153a6eb238760e88e3089b9",
  "_user": "carpentries",
  "_type": "src",
  "_file": "tinkr_0.2.0.9002.tar.gz",
  "_fileid": "4c6fd3f75766bb34bdeee1ffe55198afb13ef890b094cf57aa7f2eb0e57977e3",
  "_filesize": 241876,
  "_sha256": "4c6fd3f75766bb34bdeee1ffe55198afb13ef890b094cf57aa7f2eb0e57977e3",
  "_created": "2026-05-27T07:19:45.000Z",
  "_published": "2026-05-28T05:54:09.123Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78231976121,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234282761"
    },
    {
      "job": 78231976160,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234286566"
    },
    {
      "job": 78231976138,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234276870"
    },
    {
      "job": 78231976130,
      "time": 76,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234444033"
    },
    {
      "job": 78231975776,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234242072"
    },
    {
      "job": 78231976250,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234278081"
    },
    {
      "job": 78231976212,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234271523"
    },
    {
      "job": 78231976245,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234267432"
    },
    {
      "job": 78231975945,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258671184"
    }
  ],
  "_buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/tinkr",
  "_commit": {
    "id": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
    "author": "Zhian N. Kamvar <zkamvar@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge branch 'main' into maelle-patch-1",
    "time": 1741102059
  },
  "_maintainer": {
    "name": "Zhian N. Kamvar",
    "email": "zkamvar@gmail.com",
    "login": "zkamvar",
    "mastodon": "@zkamvar@hachyderm.io",
    "linkedin": "in/zkamvar",
    "orcid": "0000-0003-1458-7108",
    "description": "Research Software Engineer | Interested in education, pop genetics, evolution, bioinformatics, and R programming",
    "uuid": 3639446
  },
  "_registered": true,
  "_dependencies": [
    {
      "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": false,
  "_usedby": 4,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "commonmark",
    "xml",
    "xpath"
  ],
  "_stars": 62,
  "_contributors": [
    {
      "user": "zkamvar",
      "count": 320,
      "uuid": 3639446
    },
    {
      "user": "maelle",
      "count": 129,
      "uuid": 8360597
    },
    {
      "user": "jeroen",
      "count": 3,
      "uuid": 216319
    },
    {
      "user": "jennybc",
      "count": 1,
      "uuid": 599454
    }
  ],
  "_userbio": {
    "uuid": 19267758,
    "type": "organization",
    "name": "The Carpentries",
    "description": "The Carpentries teaches foundational coding, and data science skills to researchers worldwide."
  },
  "_downloads": {
    "count": 321,
    "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,
  "_rbuild": "4.6.0",
  "_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_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_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/maelle-patch-1/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.04766419460156,
  "_indexed": false,
  "_nocasepkg": "tinkr",
  "_universes": [
    "carpentries"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/tinkr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.9002",
      "date": "2026-05-27T07:22:01.000Z",
      "distro": "noble",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "ae5f59c1319429432279538184751d60045a9738af21a7d9ff937a2127725f41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0.9002",
      "date": "2026-05-27T07:22:08.000Z",
      "distro": "noble",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "415ec66919cfedc6319b2555f86a90d7aea577ebe23c0c79d94188f695ff94e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.9002",
      "date": "2026-05-27T07:21:42.000Z",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "63f82cb4cd1f2c66c95ec8e2f75765df67b98cfc0c55e5966333a4f9593f90af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0.9002",
      "date": "2026-05-27T07:30:51.000Z",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "2d15be768bbb0a4fd061b72feb6fa5bd12ed050084cb74cca81e5b5bbae569a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0.9002",
      "date": "2026-05-27T07:22:00.000Z",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "d05f47b39cb396d83df7747dfdb41de4f242c19f22b9f99ffa7b9309fcf54d7e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0.9002",
      "date": "2026-05-27T07:21:12.000Z",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "798e4e550a1d2cdb1146b265bcb654564f341053e5a5da57da2ef5cdafeead99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0.9002",
      "date": "2026-05-27T07:21:01.000Z",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "08c6a4ad6089b49621adb57c400bb6d4e32719571214773f72be2a6b24e6789e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0.9002",
      "date": "2026-05-28T05:53:19.000Z",
      "commit": "be22fa6fc01e88ecf11ebdfa4c52a45e765dff84",
      "fileid": "46ecbd483e372dfab5cae55666b869a6cae7c4603cec8884a8e5e76a9ce7784b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carpentries/actions/runs/26496740997"
    }
  ]
}