Package: selectr
Type: Package
Title: Translate CSS Selectors to XPath Expressions
Version: 0.8-0
Authors@R: c(person("Simon", "Potter",
role = c("aut", "trl", "cre"),
email = "simon@sjp.co.nz"),
person("Simon", "Sapin", role = "aut"),
person("Ian", "Bicking", role = "aut"))
License: BSD_3_clause + file LICENCE
Encoding: UTF-8
Depends: R (>= 3.6)
Suggests: testthat (>= 3.0.0), XML, xml2
Config/testthat/edition: 3
URL: https://sjp.co.nz/projects/selectr/
BugReports: https://github.com/sjp/selectr/issues
Language: en-GB
Description: Translates a CSS selector into an equivalent XPath
expression. This allows us to use CSS selectors when working
with the 'XML' and 'xml2' packages, which can only evaluate
XPath expressions. Also provided are convenience functions for
querying XML and HTML documents with CSS selectors. This
package was originally a port of the Python package 'cssselect'
().
Repository: https://sjp.r-universe.dev
Date/Publication: 2026-10-08 06:49:11 UTC
RemoteUrl: https://github.com/sjp/selectr
RemoteRef: HEAD
RemoteSha: f4dffc71d285fd88791e0dc7f60457510ecc6d10
NeedsCompilation: no
Packaged: 2026-10-08 09:20:16 UTC; root
Author: Simon Potter [aut, trl, cre],
Simon Sapin [aut],
Ian Bicking [aut]
Maintainer: Simon Potter