Skip to content

❗ This is a read-only mirror of the CRAN R package repository. CheckDigit — Calculate and Verify Check Digits. Homepage: https://fascinatingfingers.gitlab.io/checkdigithttps://gitlab.com/fascinatingfingers/checkdigit Report bugs for this package: https://gitlab.com/fascinatingfingers/checkdigit/-/issues

Notifications You must be signed in to change notification settings

cran/CheckDigit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckDigit

pipeline status coverage report

The CheckDigit package provides a set of functions to calculate check digits according to various algorithms and to verify whether a value ends in a valid check digit.

The following algorithms have been implemented:

  • Verhoeff The Verhoeff algorithm is appropriate for numerical data and detects all single-digit substitutions (x to y) and adjacent digit transpositions (xy to yx). In addition, the Verhoeff check digit can detect most twin errors (xx to yy), jump twin errors (xyx to zyz), jump transpositions (xyz to zyx), and phonetic errors ('sixty' to 'sixteen').

References

Verhoeff, J. "Error Detecting Decimal Codes", Mathematical Centre Tract 29, The Mathematical Centre, Amsterdam, 1969.

About

❗ This is a read-only mirror of the CRAN R package repository. CheckDigit — Calculate and Verify Check Digits. Homepage: https://fascinatingfingers.gitlab.io/checkdigithttps://gitlab.com/fascinatingfingers/checkdigit Report bugs for this package: https://gitlab.com/fascinatingfingers/checkdigit/-/issues

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages