diff --git a/R/autoReport.R b/R/autoReport.R index 0271cfd7..157bc62f 100644 --- a/R/autoReport.R +++ b/R/autoReport.R @@ -508,6 +508,7 @@ getRegs <- function(config) { #' May contain one or more of #' \code{c("subscription", "dispatchment", "bulletin")}. Defaults value set to #' \code{c("subscription", "dispatchment")}. +#' @param target List of autoreports in file or database #' @param dryRun Logical defining if emails are to be sent. If TRUE a message #' with reference to the payload file is given but no emails will actually be #' sent. Default is FALSE diff --git a/man/runAutoReport.Rd b/man/runAutoReport.Rd index b7e3e8a0..eff56dda 100644 --- a/man/runAutoReport.Rd +++ b/man/runAutoReport.Rd @@ -7,6 +7,7 @@ runAutoReport( dayNumber = as.POSIXlt(Sys.Date())$yday + 1, type = c("subscription", "dispatchment"), + target = "file", dryRun = FALSE ) } @@ -20,6 +21,8 @@ May contain one or more of \code{c("subscription", "dispatchment", "bulletin")}. Defaults value set to \code{c("subscription", "dispatchment")}.} +\item{target}{List of autoreports in file or database} + \item{dryRun}{Logical defining if emails are to be sent. If TRUE a message with reference to the payload file is given but no emails will actually be sent. Default is FALSE}