Function to check that all filenames in a vector point to existing files with the same resolution, orientation, size, and origin.

checkFilenameHeaders(files, showError = TRUE)

Arguments

files

character vector of filenames

showError

logical whether to show an error (True) or to return a boolean instead. Returned values are True=pass,False=Fail

Value

logical if the test was successful or not