From 966780f26e266469df0b21845fe3efc3ac539424 Mon Sep 17 00:00:00 2001 From: Ming Yang Date: Wed, 20 Nov 2024 14:07:03 +0800 Subject: [PATCH] Update error message to use get_file_paths() instead of create_data_list() --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index d16cc99..45a19c3 100644 --- a/R/utils.R +++ b/R/utils.R @@ -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)