diff --git a/DESCRIPTION b/DESCRIPTION index 8aa08d33..5c5695cf 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: epipredict Title: Basic epidemiology forecasting methods -Version: 0.2.7 +Version: 0.2.8 Authors@R: c( person("Daniel J.", "McDonald", , "daniel@stat.ubc.ca", role = c("aut", "cre")), person("Ryan", "Tibshirani", , "ryantibs@cmu.edu", role = "aut"), diff --git a/NEWS.md b/NEWS.md index 77b60459..d315f44e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,10 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.0.x will indicate PR's. +# epipredict 0.2.8 + +- Fix typo in `weighted_interval_score()` docs: `na_handling = "propogate"` → `"propagate"` (#495). + # epipredict 0.2.7 - `autoplot.canned_epipred()` had internal code using diff --git a/R/weighted_interval_score.R b/R/weighted_interval_score.R index 47187fe5..fa266b2f 100644 --- a/R/weighted_interval_score.R +++ b/R/weighted_interval_score.R @@ -17,7 +17,7 @@ #' calculated if possible using the available quantiles. For `"drop"`, #' explicitly missing values are ignored in the calculation of the score, but #' implicitly missing values are imputed if possible. -#' For `"propogate"`, the resulting score will be `NA` if any missing values +#' For `"propagate"`, the resulting score will be `NA` if any missing values #' exist. Finally, if #' `quantile_levels` is specified, `"fail"` will result in #' the score being `NA` when any required quantile levels (implicit or explicit) diff --git a/man/weighted_interval_score.Rd b/man/weighted_interval_score.Rd index ef09d4da..c0065764 100644 --- a/man/weighted_interval_score.Rd +++ b/man/weighted_interval_score.Rd @@ -26,7 +26,7 @@ For \code{"impute"}, missing values will be calculated if possible using the available quantiles. For \code{"drop"}, explicitly missing values are ignored in the calculation of the score, but implicitly missing values are imputed if possible. -For \code{"propogate"}, the resulting score will be \code{NA} if any missing values +For \code{"propagate"}, the resulting score will be \code{NA} if any missing values exist. Finally, if \code{quantile_levels} is specified, \code{"fail"} will result in the score being \code{NA} when any required quantile levels (implicit or explicit)