generate_id {justifier} | R Documentation |
Generate unique identifier(s)
Description
Convenience function to generate a unique identifiers for sources, assertions, justifications, and decisions.
Usage
generate_id(
type,
prefix = paste(sample(letters, 4), collapse = ""),
stopOnIllegalChars = FALSE
)
Arguments
type |
The type of the justifier object; |
prefix |
An identifier prefix. |
stopOnIllegalChars |
Whether to |
Value
A character vector containing the identifier(s).
Examples
generate_id(type = "S", 'sourceExample');
generate_id(type = "A", 'assertionExample');
[Package justifier version 0.2.6 Index]