Skip to contents

as_data_validation_value() collapses a character vector as a single string for use as a validation value argument by openxlsx2::wb_add_data_validation() when type = "list".

Usage

as_data_validation_value(x, allow_blank = TRUE)

Arguments

x

A character vector of options to allow in cell validation.

allow_blank

If TRUE, add a blank space " " to the returned values.