Skip to content

ulid

0.4.0

Generate Universally Unique 'Lexicographically' 'Sortable' Identifiers

1packages depend
32.8Kdownloads / year
100.0%test coverage
12/13checks pass

Overview

About
Maintained by Dirk EddelbuettelFirst published 2019-07-093 releasesCRAN page ↗GitHub ↗

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).

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.03
100.0%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

32.8K
CRAN downloads in the past year
Rank #2,443 · ~90/day · ~2.7K/mo
Daily download trend is not available in this view yet.
1.2K30 days
8.3K90 days
32.8K1 year
Compare downloads with other packages →
Also on380 r2u1 autocran

Repository

Repository
32Stars
2Forks
0Open issues
0Open PRs
3Releases
29Commits
2Contributors
rrstatsuliduuid
29 commits · Last activity 2026-07-27 · 0% stars, 30d

Stars over time

2025-04-02 · 282026-07-07 · 32

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/eddelbuettel/ulid on 2026-08-02.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
EditorConfig
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Maintainer · added in 0.3.1
Authors (2)
Author
Author · added in 0.3.1
Listed in earlier versions (1)
no longer listed · 0.3.0
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0Latest
    2024-06-04 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.1
    2024-04-02 · diff ↗
  • unarchivedReturned to CRAN
    2024-04-02
  • archivedRemoved from CRAN
    2024-03-24
    issues were not corrected despite reminders
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.0
    2019-07-09
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-07-09
Total releases
3 / 7 yrs
License
MIT + file LICENSE OSI
Download size
13 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy