Skip to content

Commit

Permalink
Remove ... args from estimate_secondary() (#894)
Browse files Browse the repository at this point in the history
* Remove ... argument

* Add NEWS item
  • Loading branch information
jamesmbaazam authored Dec 12, 2024
1 parent 13dec33 commit b4a7697
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,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

Expand Down
3 changes: 0 additions & 3 deletions R/estimate_secondary.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<data.frame>` ordered by date
#' with the primary, and secondary observations, and a summary of the model
#' estimated secondary observations), `posterior` which contains a summary of
Expand Down Expand Up @@ -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)) {
Expand Down
3 changes: 0 additions & 3 deletions man/estimate_secondary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b4a7697

Please sign in to comment.