Verify if a file path corresponds to a valid spreadsheet file.

is_valid_spreadsheet_file(x)

Arguments

x

character file path.

Value

A logical value indicating validity, or a character explanation of why the file is not valid.