Skip to content

Commit

Permalink
fix is_continuous error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Aug 16, 2024
1 parent 855017e commit eb610ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/epiparameter.R
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ is_truncated <- function(x) {
#' is_continuous(ep)
is_continuous <- function(x) {
stopifnot(
"is_truncated only works for `<epiparameter> objects`" =
"is_continuous only works for `<epiparameter> objects`" =
is_epiparameter(x)
)
family(x) %in% c("gamma", "lnorm", "weibull", "normal") &&
Expand Down

0 comments on commit eb610ee

Please sign in to comment.