selectr: Translate CSS Selectors to XPath Expressions

Translates a CSS3 selector into an equivalent XPath expression. This allows us to use CSS selectors when working with the XML package as it can only evaluate XPath expressions. Also provided are convenience functions useful for using CSS selectors on XML nodes. This package is a port of the Python package 'cssselect' (<>).

Version: 0.4-2
Depends: R (≥ 3.0)
Imports: methods, stringr, R6
Suggests: testthat, XML, xml2
Published: 2019-11-20
DOI: 10.32614/CRAN.package.selectr
Author: Simon Potter [aut, trl, cre], Simon Sapin [aut], Ian Bicking [aut]
Maintainer: Simon Potter <simon at>
License: BSD_3_clause + file LICENCE
NeedsCompilation: no
Citation: selectr citation info
Materials: README NEWS
In views: WebTechnologies
CRAN checks: selectr results


Reference manual: selectr.pdf


Package source: selectr_0.4-2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): selectr_0.4-2.tgz, r-oldrel (arm64): selectr_0.4-2.tgz, r-release (x86_64): selectr_0.4-2.tgz, r-oldrel (x86_64): selectr_0.4-2.tgz
Old sources: selectr archive

Reverse dependencies:

Reverse imports: cliapp, Rcrawler, rvest, wikilake
Reverse suggests: unpivotr


Please use the canonical form to link to this page.