Skip to content

Commit

Permalink
updated list assertion for epidist summary stats
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Nov 13, 2023
1 parent 5d601d8 commit 2c6b041
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/epidist.R
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,9 @@ epidist <- function(disease,
checkmate::assert_list(uncertainty, names = "unique")
checkmate::assert_list(
summary_stats,
types = c("list", "double", "integer", "logical", "null"),
names = "unique"
types = c("numeric", "logical"),
names = "unique",
null.ok = TRUE
)
checkmate::assert_class(citation, classes = "bibentry")
checkmate::assert_list(metadata)
Expand Down

0 comments on commit 2c6b041

Please sign in to comment.