pslr: Public Suffix List Engine

A focused implementation of the Public Suffix List (PSL). Bundles a reproducible, pinned PSL snapshot and implements the official prevailing-rule algorithm to answer public-suffix (eTLD) and registrable-domain (eTLD+1) queries. Distinguishes ICANN and PRIVATE rule sections, accepts Unicode and ASCII hostnames via 'punycoder' canonicalization, and supports an explicit, validated offline refresh path. The matcher is compiled with 'cpp11' and requires no external system library.

Version: 1.0.1
Depends: R (≥ 4.0.0)
Imports: punycoder (≥ 1.1.0), tools, utils
LinkingTo: cpp11
Suggests: cucumber (≥ 2.0.0), curl, digest, knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-06-22
DOI: 10.32614/CRAN.package.pslr (may not be active yet)
Author: Bart Turczynski [aut, cre]
Maintainer: Bart Turczynski <bartek+pslr at turczynski.pl>
BugReports: https://github.com/bart-turczynski/pslr/issues
License: MIT + file LICENSE
URL: https://github.com/bart-turczynski/pslr
NeedsCompilation: yes
Language: en-US
Materials: README, NEWS
CRAN checks: pslr results

Documentation:

Reference manual: pslr.html , pslr.pdf
Vignettes: Introduction to pslr (source, R code)

Downloads:

Package source: pslr_1.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): pslr_1.0.1.tgz, r-oldrel (arm64): pslr_1.0.1.tgz, r-release (x86_64): pslr_1.0.1.tgz, r-oldrel (x86_64): pslr_1.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=pslr to link to this page.