From 6ded02682853195606537369fe70badad5ebba43 Mon Sep 17 00:00:00 2001 From: James Brown <35502825+majestc96@users.noreply.github.com> Date: Mon, 13 May 2024 13:34:11 -0600 Subject: [PATCH] Update datastore_interactions.R Updating function name in exception prompt in `upload_data_package` --- R/datastore_interactions.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/datastore_interactions.R b/R/datastore_interactions.R index 801a5ff..ede3dd9 100644 --- a/R/datastore_interactions.R +++ b/R/datastore_interactions.R @@ -252,8 +252,8 @@ upload_data_package <- function(directory = here::here(), crayon::blue$bold(substr(test_rjson$dateOfIssue, 1, 10)), ".\n\n", sep = "") if (test_rjson$fileCount > 0) { - cat("The existing Reference already has files attached.") - cat("Use EMLeditor::remove_reference_files() before uploading new files.") + cat("The existing Reference already has files attached. ") + cat("Use EMLeditor::remove_datastore_files() before uploading new files.") return() } }