Generate a custom selector function
.generic_selector(variable_column, select_column, select_expr, fun_name)string indicating column variable names are stored
character vector of columns used in the select_expr= argument
unquoted predicate command to subset a data frame to select variables
quoted name of function where .generic_selector() is being used.
This helps with error messaging.
custom selector functions