Generate a new unique identifier.
Details
Identifiers are made using the uuid::UUIDgenerate()
.
Examples
# create new id
i <- new_id()
# print id
print(i)
#> id: 355a478a-b9ff-4eab-be29-01ce790b103e
# convert to character
as.character(i)
#> [1] "355a478a-b9ff-4eab-be29-01ce790b103e"
# check if it is an Id object
is.Id(i)
#> [1] TRUE