Ensure that an Argument is Length-1 Character
.validate_character_scalar(parameter, parameter_name, valid_values)The parameter if it is character-scalar.
The argument to test.
The argument's name. Eventually this should be automatically handled through rlang or something, in theory.
(optional) Expected values of the parameter.