diff --git a/R/function.R b/R/function.R index 0e6bbbc..58fcb2f 100644 --- a/R/function.R +++ b/R/function.R @@ -1207,7 +1207,7 @@ searchData <- function(input, choices, options = c("=", "<", ">"), min. = min(ch #' @param save_plot Logical if plot object should be saved as .RData. #' @param ui List of user inputs. Will be converted to JavaScript Object Notation. See \code{\link[RJSONIO]{toJSON}} #' -#' @return Path to zip archive. See \code{\link[zip]{zipr}}. +#' @return Path to zip archive invisibly. See \code{\link[zip]{zipr}}. download <- function(file, filename, plot, width, height, ppi = 72, save_plot = TRUE, ui = NULL) { session <- shiny::getDefaultReactiveDomain() diff --git a/man/download.Rd b/man/download.Rd index a74245e..e500b7d 100644 --- a/man/download.Rd +++ b/man/download.Rd @@ -27,7 +27,7 @@ download(file, filename, plot, width, height, ppi = 72, \item{ui}{List of user inputs. Will be converted to JavaScript Object Notation. See \code{\link[RJSONIO]{toJSON}}} } \value{ -See \code{\link[utils]{zip}}. +Path to zip archive invisibly. See \code{\link[zip]{zipr}}. } \description{ Function used for downloading.