Adds string-encoded NULL labeled as "none" to a vector of choices. This is due to NULL not being able to be an element of a vector.

add_none(choices)

Arguments

choices

[character()]
Choices to augment with NULL.

Value

A character vector with NULL option prepended to choices.