The check for the column-selecting inputs, whose "nothing chosen" state is
the empty string rather than NULL. A Shiny input that has not reported yet
is NULL, and both nzchar(NULL) and NULL == "" are logical(0), which
makes if (...) an error rather than FALSE; this returns FALSE instead.
Value
TRUE for a length-1, non-NA, non-empty character scalar;
FALSE for anything else, NULL included.