Skip to content

xml2

1.6.0

Parse XML

671packages depend
12.1Mdownloads / year
88.6%test coverage
13/13checks pass

Overview

About
Maintained by Jeroen OomsFirst published 2015-04-2026 releasesCRAN page ↗GitHub ↗

Bindings to 'libxml2' for working with XML data using a simple, consistent interface based on 'XPath' expressions. Also supports XML schema validation; for 'XSLT' transformations see the 'xslt' package.

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.65
88.6%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-08-06
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-27
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 16 earlier snapshots
  • ERROR2026-06-24
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-14
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-10
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-04
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-04-30
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-28
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-24
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-22
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-20
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-16
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-30
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-29
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 252 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
96%
Documented parameters
98%
Return-value docs
55%
References docs
0%

Downloads

12.1M
CRAN downloads in the past year
Rank #80 · ~33.1K/day · ~1M/mo
Daily download trend is not available in this view yet.
764.8K30 days
2.5M90 days
12.1M1 year
Compare downloads with other packages →
Also on261.4K r2u170 autocran1.2M conda_forge128 c2d4u

Repository

Repository
223Stars
85Forks
59Open issues
5Open PRs
21Releases
874Commits
41Contributors
rxmllibxml2
874 commits · Last activity 2026-06-22 · 0% stars, 30d

Stars over time

2025-07-14 · 2202026-07-07 · 223

Repository practices

Upstream repositoryBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/r-lib/xml2 on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (3)
AirVS CodeRStudio project
Show all practices
Coverage (1)
Codecov
Governance and community (3)
Issue templatesCODEOWNERSSupport guide
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: copilot on 2026-06-02

copilotclaude

Most recent: claude on 2026-06-22

Evidence
  • copilot: on 2026-06-02 · evidence A, PR · sole bot-author seen
  • claude: on 2026-06-22 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (3)
climethodsrlang
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 1.2.1
Contributors (1)
Contributor
Copyright holders (1)
Copyright holder, Funder · added in 1.3.6
Funders (1)
Copyright holder, Funder · added in 1.3.6
Listed in earlier versions (2)
no longer listed · 0.1.0 to 1.3.5
no longer listed · 1.0.0 to 1.2.0
Package Timeline

26 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.6.0Latest
    2026-06-22 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.5.2
    2026-01-17 · diff ↗
  • 1.5.1
    2025-12-01 · diff ↗
  • 1.5.0
    2025-11-17 · diff ↗
  • 1.4.1
    2025-10-27 · diff ↗
  • 1.4.0
    2025-08-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.3.8
    2025-03-14 · diff ↗
  • 1.3.7
    2025-02-28 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.6
    2023-12-04 · diff ↗
  • 1.3.5
    2023-07-06 · diff ↗
  • 1.3.4
    2023-04-27 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
Show 23 earlier events
  • 1.3.3
    2021-11-30 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3.2
    2020-04-24 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.1
    2020-04-09 · diff ↗
  • 1.3.0
    2020-04-01 · diff ↗
  • 1.2.5
    2020-03-11 · diff ↗
  • 1.2.4
    2020-03-10 · diff ↗
  • 1.2.2
    2019-08-09 · diff ↗
  • 1.2.1
    2019-07-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.2.0
    2018-01-24 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.1
    2017-01-24 · diff ↗
  • 1.1.0
    2017-01-07 · diff ↗
  • 1.0.0
    2016-12-05 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1.2
    2015-09-01 · diff ↗
  • 0.1.1
    2015-06-02 · diff ↗
  • archivedRemoved from CRAN
    2015-05-29
    the non-cross-platform configure script (using bash extensions) was not corrected despite reminders
  • 0.1.0
    2015-04-20
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-04-20
Total releases
26 / 11 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6.0
Download size
151 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("xml2")
Ooms, J., Posit Software, PBC, R Foundation, Hester, J., & Wickham, H. (2026). xml2: Parse XML (Version 1.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.xml2

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for xml2 version 1.6.0 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy