Reports the installed version, the generated tables compiled into it, the entropy source and the monotonic generation state.
Value
A list with elements:
versionthe package version, as a
package_version.tablesa data frame with one row per generated table: its name, the upstream
repo,commitandpath, the file'ssha256, and the number ofentries.entropythe operating-system entropy source in use:
"getrandom","getentropy","BCryptGenRandom"or"arc4random_buf", or"/dev/urandom"once a Linux kernel withoutgetrandom(2)has fallen back to it.statethe session's monotonic generation state: the last version 7 millisecond and counter, the last version 1 and 6 tick and clock sequence, and the last ULID millisecond,
NAbefore the first value.
Examples
zuid_info()
#> $version
#> [1] ‘0.1.0’
#>
#> $tables
#> table repo
#> 1 sqids_blocklist sqids/sqids-blocklist
#> 2 niceware_words diracdeltas/niceware
#> commit path
#> 1 084d15864ce0d102fd1aa0e752edb2d78e073e9f output/blocklist.json
#> 2 0d48914236f1d026affc33efb6caa81cdf1bf715 lib/wordlist.js
#> sha256 entries
#> 1 757018526eaa1af57b9ccc9439fe672345b3ae85cf8162b74af45c0d6f5a9b1a 560
#> 2 8d874a859a6795f164eff11951724012cb9332965df3488a490126522c29da34 65536
#>
#> $entropy
#> [1] "getrandom"
#>
#> $state
#> $state$uuid7_last_ms
#> [1] 1.645558e+12
#>
#> $state$uuid7_counter
#> [1] 527
#>
#> $state$uuid1_last_ticks
#> [1] NA
#>
#> $state$uuid1_clock_seq
#> [1] NA
#>
#> $state$ulid_last_ms
#> [1] 1.793968e+12
#>
#>