This commit is contained in:
Martin Folkerts 2024-08-30 16:27:32 +02:00
parent 7bf4f0930d
commit 4beca30d2e

View file

@ -62,7 +62,7 @@ harvesting_data <- read_excel(here(data_dir, "harvest.xlsx")) %>%
age = round(as.numeric(season_end - season_start) / 7, 0)
)
log_file <- here(log_dir, paste0("log_", format(Sys.Date(), "%Y%m%d"), ".log"))
log_file <- here(log_dir, paste0(format(Sys.Date(), "%Y%m%d"), ".log"))
# Create a logging function
log_message <- function(message) {