From d05fca96de5c97ef53148432b937ae15b4807cb4 Mon Sep 17 00:00:00 2001 From: "Alex O. Holcombe" Date: Tue, 21 Jun 2022 16:05:23 +1000 Subject: [PATCH] Record message for usage tracking Resolve [issue 77](https://github.com/marton-balazs-kovacs/tenzing/issues/77) (usage tracking) by printing message to log file when user uploads contributor table. --- R/mod_read_spreadsheet.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/mod_read_spreadsheet.R b/R/mod_read_spreadsheet.R index 7a2605d..6f8ec29 100644 --- a/R/mod_read_spreadsheet.R +++ b/R/mod_read_spreadsheet.R @@ -95,7 +95,8 @@ mod_read_spreadsheet_server <- function(id) { list(error = read_output$error[["message"]], warning = "")) return(NULL) - } else { + } else { #have successfully read the file or Google Sheet + message("File or Google Sheet has been uploaded.") #Print message for logfile so we know when people have uploaded a contributor table return(read_output$result) } })