Skip to content

Commit

Permalink
Merge branch 'main' into move-sec-opts
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk authored Feb 22, 2024
2 parents cad6912 + 6ea0a53 commit 9db69f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ importFrom(purrr,map)
importFrom(purrr,map2_dbl)
importFrom(purrr,map_chr)
importFrom(purrr,map_dbl)
importFrom(purrr,map_dfc)
importFrom(purrr,pmap_dbl)
importFrom(purrr,quietly)
importFrom(purrr,reduce)
Expand Down
3 changes: 1 addition & 2 deletions R/dist.R
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,6 @@ estimate_delay <- function(delays, ...) {
#'
#' @return A `<data.table>` of cases by date of onset
#' @export
#' @importFrom purrr map_dfc
#' @importFrom data.table data.table setorder
#' @importFrom lubridate days
#' @examples
Expand Down Expand Up @@ -729,7 +728,7 @@ sample_approx_dist <- function(cases = NULL,
draw <- dist_fn(0:max_value, dist = TRUE, cum = FALSE)

# approximate cases
mapped_cases <- suppressMessages(purrr::map_dfc(
mapped_cases <- do.call(cbind, purrr::map(
seq_along(reversed_cases),
~ c(
rep(0, . - 1),
Expand Down

0 comments on commit 9db69f5

Please sign in to comment.