diff --git a/R/checks.R b/R/checks.R index be800ee32..ac590a10e 100644 --- a/R/checks.R +++ b/R/checks.R @@ -58,7 +58,7 @@ check_reports_valid <- function(reports, model) { #' #' @description #' `check_stan_delay()` checks that the supplied data is a ``, -#' that it is lognormal or gamma, and that it has a finite maximum. +#' that it is a supported distribution, and that is has a finite maximum. #' #' @param dist A `dist_spec` object.` #' @importFrom checkmate assert_class diff --git a/inst/dev/design_dist.md b/inst/dev/design_dist.md index d172b2b9e..00bbdb67f 100644 --- a/inst/dev/design_dist.md +++ b/inst/dev/design_dist.md @@ -17,7 +17,7 @@ This interface could be of potential use to other packages (e.g. `epinowcast`, ` ## Proposed interface -We are an proposing an dinterface similar to what is used in `{rstanarm}` and `{distributions3}`, where probability distributions are called according to their capitalised names. This avoids masking `base::gamma()` (although we still mask `stats::Gamma`). There is potential for integration especially with `{distributionS3}`. Parameters are nested according to the same syntax. +We are an proposing an interface similar to what is used in `{rstanarm}` and `{distributions3}`, where probability distributions are called according to their capitalised names. This avoids masking `base::gamma()` (although we still mask `stats::Gamma`). There is potential for integration especially with `{distributionS3}`. Parameters are nested according to the same syntax. Examples: ```{r}