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.2-3
Depends: R (≥ 2.15.2)
Imports: methods, XML, stringr
Suggests: testthat
Published: 2014-12-24
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
CRAN checks: selectr results


Reference manual: selectr.pdf
Package source: selectr_0.2-3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: selectr_0.2-3.tgz, r-oldrel: selectr_0.2-3.tgz
OS X Mavericks binaries: r-release: selectr_0.2-3.tgz
Old sources: selectr archive

Reverse dependencies:

Reverse imports: clifro, rvest