Skip to content

Commit

Permalink
download: delete tmp files
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikSchultheis committed Jun 7, 2018
1 parent d38d536 commit 5f64bb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/function.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down

0 comments on commit 5f64bb7

Please sign in to comment.