This function validates the structure of a spreadsheet file by checking its
sheets, primary keys (PKs), and foreign keys (FKs). If a template file is provided,
it also checks the column definitions.
Usage
check_tab(file_path, template_path = NULL)
Arguments
- file_path
Character. Path to the spreadsheet file to be validated.
- template_path
Character (optional). Path to the template file for validation.
If `NULL`, only the sheet structure is checked.
Value
Logical. Returns "TRUE" but warns of possible errors.