The format_as_bullets
function is used for preprocessing character vectors by adding names.
These names are used to denote bullet points when the character vector is passed to cli::cli_abort()
.
This allows for the easy creation of bullet point lists in error messages.
The bullet argument allows the user to specify the desired bullet point symbol.
The default bullet point symbols are: *, >, , x, v, i, and !.
Usage
format_as_bullets(x, bullet = c("*", ">", " ", "x", "v", "i", "!"))