Verify if a file path corresponds to a valid ESRI Shapefile.

is_valid_shapefile_file(x)

Arguments

x

character file path.

Value

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