diff --git a/R/function.R b/R/function.R index cad4570..5001583 100644 --- a/R/function.R +++ b/R/function.R @@ -1193,6 +1193,9 @@ download <- function(file, filename, plot, width, height, ppi = 72, save_plot = # create zip file out <- utils::zip(zipfile = file, files = files, flags = "-j") # discard file path + # remove tmp files + file.remove(files) + # remove notification shiny::removeNotification(session$ns("download-note"))