Validates inputs for table2() function that accepts multiple variables via ... with optional data frame.
validate_table2(..., data = NULL, func_name = "table2", data_name = NULL)A list containing:
dots: List of evaluated variables (ready for base::table)
dot_expressions: List of expressions (for variable name extraction)
data_name: Name of data argument (for error messages)
One or more variables to be tabulated.
An optional data frame containing the variables.
Character string. Name of the calling function (for error messages). Default is "table2".
Character string. Name of the data argument (for error messages). If NULL, will attempt to infer from the call.