diff --git a/NEWS.md b/NEWS.md index 29b8a2ebf..db23d478b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -26,6 +26,7 @@ ## Documentation - Brought the docs on `alpha_sd` up to date with the code change from prior PR #853. By @zsusswein in #862 and reviewed by @jamesmbaazam. +- The `...` argument in `estimate_secondary()` has been removed because it was not used. By @jamesmbaazam in #894 and reviewed by @. # EpiNow2 1.6.1 diff --git a/R/estimate_secondary.R b/R/estimate_secondary.R index 09b635d7d..cd62bbd9f 100644 --- a/R/estimate_secondary.R +++ b/R/estimate_secondary.R @@ -58,8 +58,6 @@ #' @param verbose Logical, should model fitting progress be returned. Defaults #' to [interactive()]. #' -#' @param ... Additional parameters to pass to [stan_opts()]. -#' #' @return A list containing: `predictions` (a `` ordered by date #' with the primary, and secondary observations, and a summary of the model #' estimated secondary observations), `posterior` which contains a summary of @@ -162,7 +160,6 @@ estimate_secondary <- function(data, model = NULL, weigh_delay_priors = FALSE, verbose = interactive(), - ..., reports) { # Deprecate reported_cases in favour of data if (!missing(reports)) { diff --git a/man/estimate_secondary.Rd b/man/estimate_secondary.Rd index fe526b41d..9d57f26e3 100644 --- a/man/estimate_secondary.Rd +++ b/man/estimate_secondary.Rd @@ -20,7 +20,6 @@ estimate_secondary( model = NULL, weigh_delay_priors = FALSE, verbose = interactive(), - ..., reports ) } @@ -91,8 +90,6 @@ parameters.} \item{verbose}{Logical, should model fitting progress be returned. Defaults to \code{\link[=interactive]{interactive()}}.} -\item{...}{Additional parameters to pass to \code{\link[=stan_opts]{stan_opts()}}.} - \item{reports}{Deprecated; use \code{data} instead.} } \value{