Generate a new unique identifier.

new_id()

Value

Id object.

Details

Identifiers are made using the UUIDgenerate.

See also

Examples

# create new id i <- new_id() # print id print(i)
#> id: 72204777-623b-4ca5-9a5e-d2e7f0f55d3b
# convert to character as.character(i)
#> [1] "72204777-623b-4ca5-9a5e-d2e7f0f55d3b"
# check if it is an Id object is.Id(i)
#> [1] TRUE