raddr: Show What an IP Address Literal Means Under Every Standard

Standards and implementations disagree about what an IP address literal means: the string "0177.0.0.1" is rejected by the dotted-quad grammar, read as 127.0.0.1 by browsers, and read as 177.0.0.1 by some 'inet_pton' implementations. Most libraries pick one reading and discard the rest. This package reports them all, alongside the reason codes that explain each one, and classifies parsed values against the IANA special-purpose address registries. It is pure R, performs no network access, and returns facts rather than allow or deny verdicts.

Version: 0.1.2
Depends: R (≥ 4.0.0)
Imports: rlang (≥ 1.1.7), vctrs (≥ 0.7.0)
Suggests: bignum, bit64, digest, hedgehog, knitr, rmarkdown, spelling, testthat (≥ 3.0.0)
Published: 2026-09-21
DOI: 10.32614/CRAN.package.raddr (may not be active yet)
Author: Bart Turczynski ORCID iD [aut, cre], web-platform-tests contributors [cph] (bundled URL test corpus, BSD-3-Clause; see inst/COPYRIGHTS)
Maintainer: Bart Turczynski <bartek at turczynski.pl>
BugReports: https://gitlab.com/bart-turczynski/raddr/-/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://gitlab.com/bart-turczynski/raddr
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: raddr results

Documentation:

Reference manual: raddr.html , raddr.pdf
Vignettes: Edge cases (source, R code)
Introduction to raddr (source, R code)
Reason codes (source, R code)

Downloads:

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

Linking:

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