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: 1c220961-876c-4c16-8391-f2878110e6ec
# convert to character as.character(i)
#> [1] "1c220961-876c-4c16-8391-f2878110e6ec"
# check if it is an Id object is.Id(i)
#> [1] TRUE