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-22 20:40:34 UTC
RemoteUrl: https://github.com/sjp/selectr
RemoteRef: HEAD
RemoteSha: 726129e19db309fd084541fa6d62d8fd51d0375d
NeedsCompilation: no
Packaged: 2026-10-22 23:01:44 UTC; root
Author: Simon Potter [aut, trl, cre],
Simon Sapin [aut],
Ian Bicking [aut]
Maintainer: Simon Potter