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: 938d93a5-91b8-4757-814c-8e99ed70517d
# convert to character as.character(i)
#> [1] "938d93a5-91b8-4757-814c-8e99ed70517d"
# check if it is an Id object is.Id(i)
#> [1] TRUE