Searches a directory and its immediate subdirectories for duplicate WAV files based on MD5 hash of file contents. Returns one representative file path for each set of duplicates found.
Value
A named character vector where:
Names are MD5 hashes of duplicate file contents
Values are representative file paths (first occurrence) for each duplicate set
Returns empty character vector if no duplicates found. Returns NULL invisibly if no WAV files found.
Details
The function searches the specified directory and its immediate subdirectories (one level deep) for WAV files. File matching is case-insensitive. Duplicates are identified by computing MD5 hashes of the binary file contents.
Requires the digest package to be installed.