{
  "_id": "6a310f7e3efcd9bda43587a3",
  "Package": "xml2",
  "Title": "Parse XML",
  "Version": "1.5.2",
  "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' 'zzz.R'",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-16 08:52:27 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-01-17 17:17:51 UTC",
  "RemoteUrl": "https://github.com/cran/xml2",
  "RemoteRef": "HEAD",
  "RemoteSha": "9798bf0e0ca90302a87facb499ef32856cf3fee6",
  "MD5sum": "d8fd2c1e12b17e39a5fd30708a04bf96",
  "_user": "cran",
  "_type": "src",
  "_file": "xml2_1.5.2.tar.gz",
  "_fileid": "33b9ce89baadd8cc1fe3221a55552d18219ed210b00c9186233decd030e09901",
  "_filesize": 317845,
  "_sha256": "33b9ce89baadd8cc1fe3221a55552d18219ed210b00c9186233decd030e09901",
  "_created": "2026-06-16T08:52:27.000Z",
  "_published": "2026-06-16T08:55:26.978Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81618001270,
      "time": 128,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7661899391"
    },
    {
      "job": 81618001312,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7661902547"
    },
    {
      "job": 81618001298,
      "time": 120,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7661897202"
    },
    {
      "job": 81618001299,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7661903959"
    },
    {
      "job": 81617390123,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7661849039"
    },
    {
      "job": 81618001252,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7661899828"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27605767648",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/xml2",
  "_commit": {
    "id": "9798bf0e0ca90302a87facb499ef32856cf3fee6",
    "author": "Jeroen Ooms <jeroenooms@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.5.2\n",
    "time": 1768670271
  },
  "_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
  },
  "_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": 2552,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.4.0",
      "date": "2025-08-20"
    },
    {
      "name": "1.4.1",
      "date": "2025-10-27"
    },
    {
      "name": "1.5.0",
      "date": "2025-11-17"
    },
    {
      "name": "1.5.1",
      "date": "2025-12-01"
    },
    {
      "name": "1.5.2",
      "date": "2026-01-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hadley",
      "count": 8,
      "uuid": 4196
    },
    {
      "user": "jeroen",
      "count": 7,
      "uuid": 216319
    },
    {
      "user": "jimhester",
      "count": 7,
      "uuid": 205275
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 840946,
    "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": 10208,
  "_topics": [
    "libxml2",
    "cpp"
  ],
  "_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/xml2.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
      "headers": "libxml2-dev",
      "source": "libxml2",
      "version": "2.9.14+dfsg-1.3ubuntu3.7",
      "name": "libxml2",
      "homepage": "http://xmlsoft.org",
      "description": "GNOME XML library"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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.294831950034473,
  "_indexed": false,
  "_nocasepkg": "xml2",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://r-lib.r-universe.dev/xml2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-16T08:54:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9798bf0e0ca90302a87facb499ef32856cf3fee6",
      "fileid": "2c7c3185a43ee4057f34ec206a9bba08fc45b803b5aabf725fe1a369de3586ae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27605767648"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-16T08:54:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9798bf0e0ca90302a87facb499ef32856cf3fee6",
      "fileid": "cf14b031b24b7aa71c5d1cb00384fd96425f8a823ca73fa35f8aa27b8f846dd6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27605767648"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-16T08:54:35.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9798bf0e0ca90302a87facb499ef32856cf3fee6",
      "fileid": "68ee39dbb8f4de8e6f3ee36f4c94c0d69ee915e318927c38ae591170d8b78305",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27605767648"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-16T08:54:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9798bf0e0ca90302a87facb499ef32856cf3fee6",
      "fileid": "383d263205640605b42ad050dfcce06ed0a295b5d8ebae4bf3edbc266f818175",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27605767648"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-06-16T08:54:51.000Z",
      "arch": "emscripten",
      "commit": "9798bf0e0ca90302a87facb499ef32856cf3fee6",
      "fileid": "6e34374632fcb1baf26ef8e0ab4e0cefc6cf84aa657fc9b9ed217be3a44b4d78",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27605767648"
    }
  ]
}