{
  "_id": "6ae1a7118d250e7ad09ed631",
  "Package": "xml2",
  "Title": "Parse XML",
  "Version": "1.6.0",
  "Authors@R": "c(\nperson(\"Hadley\", \"Wickham\", role = \"aut\"),\nperson(\"Jim\", \"Hester\", role = \"aut\"),\nperson(\"Jeroen\", \"Ooms\", email = \"jeroenooms@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")),\nperson(\"R Foundation\", role = \"ctb\",\ncomment = \"Copy of R-project homepage cached as example\")\n)",
  "Description": "Bindings to 'libxml2' for working with XML data using a\nsimple, consistent interface based on 'XPath' expressions. Also\nsupports XML schema validation; for 'XSLT' transformations see\nthe 'xslt' package.",
  "License": "MIT + file LICENSE",
  "URL": "https://xml2.r-lib.org, https://r-lib.r-universe.dev/xml2",
  "BugReports": "https://github.com/r-lib/xml2/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "libxml2: libxml2-dev (deb), libxml2-devel (rpm)",
  "Collate": "'S4.R' 'as_list.R' 'xml_parse.R' 'as_xml_document.R'\n'classes.R' 'format.R' 'import-standalone-obj-type.R'\n'import-standalone-purrr.R' 'import-standalone-types-check.R'\n'init.R' 'nodeset_apply.R' 'paths.R' 'utils.R' 'xml2-package.R'\n'xml_attr.R' 'xml_children.R' 'xml_document.R' 'xml_find.R'\n'xml_missing.R' 'xml_modify.R' 'xml_name.R' 'xml_namespaces.R'\n'xml_node.R' 'xml_nodeset.R' 'xml_path.R' 'xml_schema.R'\n'xml_serialize.R' 'xml_structure.R' 'xml_text.R' 'xml_type.R'\n'xml_url.R' 'xml_write.R'",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-28 07:25:12 UTC",
    "User": "root"
  },
  "Author": "Hadley Wickham [aut], Jim Hester [aut], Jeroen Ooms [aut, cre],\nPosit Software, PBC [cph, fnd], R Foundation [ctb] (Copy of\nR-project homepage cached as example)",
  "Maintainer": "Jeroen Ooms <jeroenooms@gmail.com>",
  "Config/pak/sysreqs": "libxml2-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-22 18:33:29 UTC",
  "RemoteUrl": "https://github.com/cran/xml2",
  "RemoteRef": "HEAD",
  "RemoteSha": "5162db172775660781709d1eebb05f78837cfafe",
  "_user": "cran",
  "_type": "src",
  "_file": "xml2_1.6.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e132858a0f834cb493fadf6455d35541267ea1b72f120fb191b045724b15f820",
  "_filesize": 319664,
  "_sha256": "e132858a0f834cb493fadf6455d35541267ea1b72f120fb191b045724b15f820",
  "_expires": "2027-02-05T07:41:03.000Z",
  "_created": "2026-10-28T07:25:12.000Z",
  "_published": "2026-10-28T07:41:05.499Z",
  "_upstream": "https://github.com/cran/xml2",
  "_status": "success",
  "_maintainer": {
    "name": "Jeroen Ooms",
    "email": "jeroenooms@gmail.com",
    "login": "jeroen",
    "mastodon": "@jeroenooms@fosstodon.org",
    "bluesky": "@jeroenooms.bsky.social",
    "description": "Staff research engineer at @ropensci, tidyverse team member, and project lead for R-universe",
    "uuid": 216319
  },
  "_jobs": [
    {
      "job": 122687628629,
      "time": 643,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12798574990"
    },
    {
      "job": 122687628636,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12799616137"
    },
    {
      "job": 122687628628,
      "time": 114,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799196924"
    },
    {
      "job": 122687628695,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799362195"
    },
    {
      "job": 122686434835,
      "time": 203,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12798669131"
    },
    {
      "job": 122687628684,
      "time": 460,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12799009218"
    },
    {
      "job": 122687628622,
      "time": 219,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12799402433"
    },
    {
      "job": 122687628772,
      "time": 896,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12799383347"
    },
    {
      "job": 122687628693,
      "time": 576,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799264251"
    },
    {
      "job": 122687628669,
      "time": 126,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799217690"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766",
  "_commit": {
    "id": "5162db172775660781709d1eebb05f78837cfafe",
    "author": "Jeroen Ooms <jeroenooms@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.6.0\n",
    "time": 1782153209
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "xslt",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 2686,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.5.0",
      "date": "2025-11-17"
    },
    {
      "name": "1.5.1",
      "date": "2025-12-01"
    },
    {
      "name": "1.5.2",
      "date": "2026-01-17"
    },
    {
      "name": "1.6.0",
      "date": "2026-06-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jeroen",
      "count": 8,
      "uuid": 216319
    },
    {
      "user": "hadley",
      "count": 8,
      "uuid": 4196
    },
    {
      "user": "jimhester",
      "count": 7,
      "uuid": 205275
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 844399,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xml2"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/r-lib/xml2",
  "_pkgdown": "https://xml2.r-lib.org",
  "_searchresults": 9728,
  "_topics": [
    "libxml2",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xml2.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/r-lib/xml2",
  "_realowner": "r-lib",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2015-04-20"
    },
    {
      "version": "0.1.1",
      "date": "2015-06-02"
    },
    {
      "version": "0.1.2",
      "date": "2015-09-01"
    },
    {
      "version": "1.0.0",
      "date": "2016-06-24"
    },
    {
      "version": "1.1.0",
      "date": "2017-01-07"
    },
    {
      "version": "1.1.1",
      "date": "2017-01-25"
    },
    {
      "version": "1.2.0",
      "date": "2018-01-24"
    },
    {
      "version": "1.2.1",
      "date": "2019-07-29"
    },
    {
      "version": "1.2.2",
      "date": "2019-08-09"
    },
    {
      "version": "1.2.4",
      "date": "2020-03-10"
    },
    {
      "version": "1.2.5",
      "date": "2020-03-11"
    },
    {
      "version": "1.3.0",
      "date": "2020-04-01"
    },
    {
      "version": "1.3.1",
      "date": "2020-04-09"
    },
    {
      "version": "1.3.2",
      "date": "2020-04-23"
    },
    {
      "version": "1.3.3",
      "date": "2021-11-30"
    },
    {
      "version": "1.3.4",
      "date": "2023-04-27"
    },
    {
      "version": "1.3.5",
      "date": "2023-07-06"
    },
    {
      "version": "1.3.6",
      "date": "2023-12-04"
    },
    {
      "version": "1.3.7",
      "date": "2025-02-28"
    },
    {
      "version": "1.3.8",
      "date": "2025-03-14"
    },
    {
      "version": "1.4.0",
      "date": "2025-08-20"
    },
    {
      "version": "1.4.1",
      "date": "2025-10-27"
    },
    {
      "version": "1.5.0",
      "date": "2025-11-17"
    },
    {
      "version": "1.5.1",
      "date": "2025-12-01"
    },
    {
      "version": "1.5.2",
      "date": "2026-01-17"
    },
    {
      "version": "1.6.0",
      "date": "2026-06-22"
    }
  ],
  "_exports": [
    "as_list",
    "as_xml_document",
    "download_html",
    "download_xml",
    "html_structure",
    "read_html",
    "read_xml",
    "url_absolute",
    "url_escape",
    "url_parse",
    "url_relative",
    "url_unescape",
    "write_html",
    "write_xml",
    "xml_add_child",
    "xml_add_parent",
    "xml_add_sibling",
    "xml_attr",
    "xml_attr<-",
    "xml_attrs",
    "xml_attrs<-",
    "xml_cdata",
    "xml_child",
    "xml_children",
    "xml_comment",
    "xml_contents",
    "xml_double",
    "xml_dtd",
    "xml_find_all",
    "xml_find_chr",
    "xml_find_first",
    "xml_find_int",
    "xml_find_lgl",
    "xml_find_num",
    "xml_find_one",
    "xml_has_attr",
    "xml_integer",
    "xml_length",
    "xml_missing",
    "xml_name",
    "xml_name<-",
    "xml_new_document",
    "xml_new_root",
    "xml_ns",
    "xml_ns_rename",
    "xml_ns_strip",
    "xml_parent",
    "xml_parents",
    "xml_path",
    "xml_remove",
    "xml_replace",
    "xml_root",
    "xml_serialize",
    "xml_set_attr",
    "xml_set_attrs",
    "xml_set_name",
    "xml_set_namespace",
    "xml_set_text",
    "xml_siblings",
    "xml_structure",
    "xml_text",
    "xml_text<-",
    "xml_type",
    "xml_unserialize",
    "xml_url",
    "xml_validate",
    "xml2_example"
  ],
  "_help": [
    {
      "page": "as_list",
      "title": "Coerce xml nodes to a list.",
      "topics": [
        "as_list"
      ]
    },
    {
      "page": "as_xml_document",
      "title": "Coerce a R list to xml nodes.",
      "topics": [
        "as_xml_document"
      ]
    },
    {
      "page": "download_xml",
      "title": "Download a HTML or XML file",
      "topics": [
        "download_html",
        "download_xml"
      ]
    },
    {
      "page": "read_xml",
      "title": "Read HTML or XML.",
      "topics": [
        "read_html",
        "read_xml",
        "read_xml.character",
        "read_xml.connection",
        "read_xml.raw"
      ]
    },
    {
      "page": "url_absolute",
      "title": "Convert between relative and absolute urls.",
      "topics": [
        "url_absolute",
        "url_relative"
      ]
    },
    {
      "page": "url_escape",
      "title": "Escape and unescape urls.",
      "topics": [
        "url_escape",
        "url_unescape"
      ]
    },
    {
      "page": "url_parse",
      "title": "Parse a url into its component pieces.",
      "topics": [
        "url_parse"
      ]
    },
    {
      "page": "write_xml",
      "title": "Write XML or HTML to disk.",
      "topics": [
        "write_html",
        "write_html.xml_document",
        "write_xml",
        "write_xml.xml_document"
      ]
    },
    {
      "page": "xml_attr",
      "title": "Retrieve an attribute.",
      "topics": [
        "xml_attr",
        "xml_attr<-",
        "xml_attrs",
        "xml_attrs<-",
        "xml_has_attr",
        "xml_set_attr",
        "xml_set_attrs"
      ]
    },
    {
      "page": "xml_cdata",
      "title": "Construct a cdata node",
      "topics": [
        "xml_cdata"
      ]
    },
    {
      "page": "xml_children",
      "title": "Navigate around the family tree.",
      "topics": [
        "xml_child",
        "xml_children",
        "xml_contents",
        "xml_length",
        "xml_parent",
        "xml_parents",
        "xml_root",
        "xml_siblings"
      ]
    },
    {
      "page": "xml_comment",
      "title": "Construct a comment node",
      "topics": [
        "xml_comment"
      ]
    },
    {
      "page": "xml_dtd",
      "title": "Construct a document type definition",
      "topics": [
        "xml_dtd"
      ]
    },
    {
      "page": "xml_find_all",
      "title": "Find nodes that match an xpath expression.",
      "topics": [
        "xml_find_all",
        "xml_find_all.xml_nodeset",
        "xml_find_chr",
        "xml_find_first",
        "xml_find_int",
        "xml_find_lgl",
        "xml_find_num",
        "xml_find_one"
      ]
    },
    {
      "page": "xml_name",
      "title": "The (tag) name of an xml element.",
      "topics": [
        "xml_name",
        "xml_name<-",
        "xml_set_name"
      ]
    },
    {
      "page": "xml_new_document",
      "title": "Create a new document, possibly with a root node",
      "topics": [
        "xml_new_document",
        "xml_new_root"
      ]
    },
    {
      "page": "xml_ns",
      "title": "XML namespaces.",
      "topics": [
        "xml_ns",
        "xml_ns_rename"
      ]
    },
    {
      "page": "xml_ns_strip",
      "title": "Strip the default namespaces from a document",
      "topics": [
        "xml_ns_strip"
      ]
    },
    {
      "page": "xml_path",
      "title": "Retrieve the xpath to a node",
      "topics": [
        "xml_path"
      ]
    },
    {
      "page": "xml_replace",
      "title": "Modify a tree by inserting, replacing or removing nodes",
      "topics": [
        "xml_add_child",
        "xml_add_parent",
        "xml_add_sibling",
        "xml_remove",
        "xml_replace"
      ]
    },
    {
      "page": "xml_serialize",
      "title": "Serializing XML objects to connections.",
      "topics": [
        "xml_serialize",
        "xml_unserialize"
      ]
    },
    {
      "page": "xml_set_namespace",
      "title": "Set the node's namespace",
      "topics": [
        "xml_set_namespace"
      ]
    },
    {
      "page": "xml_structure",
      "title": "Show the structure of an html/xml document.",
      "topics": [
        "html_structure",
        "xml_structure"
      ]
    },
    {
      "page": "xml_text",
      "title": "Extract or modify the text",
      "topics": [
        "xml_double",
        "xml_integer",
        "xml_set_text",
        "xml_text",
        "xml_text<-"
      ]
    },
    {
      "page": "xml_type",
      "title": "Determine the type of a node.",
      "topics": [
        "xml_type"
      ]
    },
    {
      "page": "xml_url",
      "title": "The URL of an XML document",
      "topics": [
        "xml_url"
      ]
    },
    {
      "page": "xml_validate",
      "title": "Validate XML schema",
      "topics": [
        "xml_validate"
      ]
    },
    {
      "page": "xml2_example",
      "title": "Get path to a xml2 example",
      "topics": [
        "xml2_example"
      ]
    }
  ],
  "_readme": "https://github.com/cran/xml2/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "rlang"
  ],
  "_sysdeps": [
    {
      "shlib": "libxml2",
      "package": "libxml2-16",
      "headers": "libxml2-dev",
      "source": "libxml2",
      "version": "2.15.2+dfsg-0.1ubuntu0.3",
      "name": "libxml2",
      "homepage": "http://xmlsoft.org",
      "description": "GNOME XML library"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "modification.Rmd",
      "filename": "modification.html",
      "title": "Node Modification",
      "author": "Jim Hester",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Modifying Existing XML",
        "Text Modification",
        "Attribute and Namespace Definition Modification",
        "Name Modification",
        "Node modification",
        "Replacing existing nodes",
        "Add a sibling",
        "Add a child",
        "Removing nodes",
        "Namespaces"
      ],
      "created": "2016-06-24 11:57:15",
      "modified": "2025-10-27 06:10:02",
      "commits": 8
    }
  ],
  "_score": 14.297919790012829,
  "_indexed": false,
  "_nocasepkg": "xml2",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://r-lib.r-universe.dev/xml2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-28T07:36:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/5be7fcd3a96f273eef510548a5bc77ad40b32a0ab63b49f547604d3c980e4211",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-28T07:27:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/637a0d6e76616187c744006c6df43831c482fb673ed451386208b8762decbf52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-28T07:27:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/a7c4e8b11abb7f353e4b4d0d801a098b93ea8c59b7334112f9b036ed16b055d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.0",
      "date": "2026-10-28T07:27:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/aa9c22469ed580cf8e30d05d196d24c842e8a75b350ad00fe4f802ff49378252",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.0",
      "date": "2026-10-28T07:33:15.000Z",
      "arch": "emscripten",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/0d4cecdbed2bbeb88d77ea8ef32ebb627a9049612642c08314c1c19d801eafa5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-28T07:28:35.000Z",
      "arch": "aarch64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/4d1b758a038f543fb551ddf44550fe9e0ae443c40d8fc9c0f6505a798f85095f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-28T07:39:08.000Z",
      "arch": "x86_64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/29968b431558d4f0f4d07e5fe177a71ccfb090781ae80f0eddad15dea46d7ecc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-28T07:34:30.000Z",
      "arch": "aarch64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/53c2f2aea83d5afd56de32cdc9fee75355d9ebf8b8cf9c041a400d1be23b834e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.0",
      "date": "2026-10-28T07:26:34.000Z",
      "arch": "x86_64",
      "commit": "5162db172775660781709d1eebb05f78837cfafe",
      "fileid": "https://r2.ropensci.org/8ff8aa30b0d1d06c6962fc1fab83bac23b665ae847a134225bafbaace26182c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40649602766"
    }
  ]
}