Skip to content

Commit

Permalink
Update error message to use get_file_paths() instead of create_data_l…
Browse files Browse the repository at this point in the history
…ist()
  • Loading branch information
mingstat committed Nov 20, 2024
1 parent 2b9719f commit 966780f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ get_file_paths <- function(dir_path, file_names, prefer_sas = FALSE) {

match_count <- sum(uppercase_candidates == uppercase_file_name)
if (match_count > 1) {
stop(paste("create_data_list(): More than one case-insensitive file name match for", dir_path, x))
stop(paste("get_file_paths(): More than one case-insensitive file name match for", dir_path, x))
}

index <- match(uppercase_file_name, uppercase_candidates)
Expand Down

0 comments on commit 966780f

Please sign in to comment.