Breaking change
Tidyeval approach added, with function now taking the data argument first, allowing piping, and allows unquoted column names to fit with tidyverse / dplyr style approach.
Changes
Added a max.overlaps argument to allow the user to
vary this in cases where labels overlap is unhelpful.
Changed control limit options to allow both adjusted and unadjusted to be turned off, without turning the other on.
Updated README, help files and vignette to use tidyeval approach.
Changes:
Handling of expected values in SHMI calculation was adjusted to
allow rounding to two decimal places to match NHSD publication, and as
requested by HED Team. Now controlled with additional argument:
SHMI_rounding = TRUE/FALSE
A change to the OD logic when OD adjustment is selected, but no OD detected. Changed to focus on phi (dispersion ratio) instead of tau (variance component).
Bug-fix:
an error handling function was not performing correctly and preventing multiple selections.
Updated plotting as ggplot arguments were deprecated and giving warning notices.
Updated package author’s email address, as I lost access to the old one.
Updated bits of meta data, codecov, roxygen2 version and github actions.
Added additional unit tests.
Poisson_limits and OD_adjusted are now
draw_unadjusted and draw_adjusted.label_outliers is now label with with more
options for labelling rules.ggplot2 grey as
defaultrlang dependency