verhoeff: Implementation of the 'Verhoeff' Check Digit Algorithm

An implementation of the 'Verhoeff' algorithm for calculating check digits (Verhoeff, J. (1969) <doi:10.1002/zamm.19710510323>). Functions are provided to calculate a check digit given an input number, calculate and append a check digit to an input number, and validate that a check digit is correct given an input number.

Getting started

Package details

AuthorConor Neilson
MaintainerConor Neilson <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the verhoeff package in your browser

Any scripts or data that you put into this service are public.

verhoeff documentation built on Jan. 26, 2021, 5:06 p.m.