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: a12aa4f9-e9a2-40fd-91bf-dbbaa621989b
# convert to character as.character(i)
#> [1] "a12aa4f9-e9a2-40fd-91bf-dbbaa621989b"
# check if it is an Id object is.Id(i)
#> [1] TRUE