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: 4544bd7f-ec0a-4174-bbc5-f472d344d6a8
# convert to character as.character(i)
#> [1] "4544bd7f-ec0a-4174-bbc5-f472d344d6a8"
# check if it is an Id object is.Id(i)
#> [1] TRUE