ulid: Generate Universally Unique 'Lexicographically' 'Sortable' Identifiers

Universally unique identifiers ('UUIDs') can be sub-optimal for many uses-cases because they are not the most character efficient way of encoding 128 bits of randomness; v1/v2 versions are impractical in many environments, as they require access to a unique, stable MAC address; v3/v5 versions require a unique seed and produce randomly distributed IDs, which can cause fragmentation in many data structures; v4 provides no other information than randomness which can cause fragmentation in many data structures. Providing an alternative, 'ULIDs' (<https://github.com/ulid/spec>) have 128-bit compatibility with 'UUID', 1.21e+24 unique 'ULIDs' per millisecond, support standard (text) sorting, canonically encoded as a 26 character string, as opposed to the 36 character 'UUID', use 'base32' encoding for better efficiency and readability (5 bits per character), are case insensitive, have no special characters (i.e. are 'URL' safe) and have a monotonic sort order (correctly detects and handles the same millisecond).

Version: 0.4.0
Imports: Rcpp
LinkingTo: Rcpp
Suggests: tinytest
Published: 2024-06-04
DOI: 10.32614/CRAN.package.ulid
Author: Bob Rudis ORCID iD [aut], Suyash Verma [aut] (ULID C++ <https://github.com/suyash/ulid/>), Dirk Eddelbuettel ORCID iD [cre]
Maintainer: Dirk Eddelbuettel <edd at debian.org>
BugReports: https://github.com/eddelbuettel/ulid/issues
License: MIT + file LICENSE
URL: https://github.com/eddelbuettel/ulid
NeedsCompilation: yes
Materials: NEWS ChangeLog
CRAN checks: ulid results

Documentation:

Reference manual: ulid.pdf

Downloads:

Package source: ulid_0.4.0.tar.gz
Windows binaries: r-devel: ulid_0.4.0.zip, r-release: ulid_0.4.0.zip, r-oldrel: ulid_0.4.0.zip
macOS binaries: r-release (arm64): ulid_0.4.0.tgz, r-oldrel (arm64): ulid_0.4.0.tgz, r-release (x86_64): ulid_0.4.0.tgz, r-oldrel (x86_64): ulid_0.4.0.tgz
Old sources: ulid archive

Reverse dependencies:

Reverse suggests: rotor

Linking:

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