dialvalidator: Phone Number Validation Using Google's 'libphonenumber' Metadata

Parses, validates, formats, and classifies phone numbers using Google's 'libphonenumber' metadata. Covers 240+ territories with support for mobile, landline, toll-free, and other number types. Unlike 'dialr', this package requires no Java runtime — metadata is parsed ahead of time from the upstream 'PhoneNumberMetadata.xml' and shipped as a bundled R object. Functions accept character vectors and return simple R types (logical, character, data.frame).

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: cli, rlang, stringr
Suggests: xml2, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-03-12
DOI: 10.32614/CRAN.package.dialvalidator (may not be active yet)
Author: Peeyoosh Chandra [aut, cre]
Maintainer: Peeyoosh Chandra <pc at strategyandops.co>
BugReports: https://github.com/pcstrategyandopsco/dialvalidator/issues
License: Apache License (≥ 2)
URL: https://pcstrategyandopsco.github.io/dialvalidator/, https://github.com/pcstrategyandopsco/dialvalidator
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: dialvalidator results

Documentation:

Reference manual: dialvalidator.html , dialvalidator.pdf
Vignettes: Getting started with dialvalidator (source, R code)

Downloads:

Package source: dialvalidator_0.1.0.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=dialvalidator to link to this page.