Skip to content

Commit 6fe3753

Browse files
committed
prepare for release
1 parent 51e78b1 commit 6fe3753

4 files changed

Lines changed: 22 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: FunnelPlotR
22
Type: Package
33
Title: Funnel Plots for Comparing Institutional Performance
4-
Version: 0.4.2.9999
4+
Version: 0.4.2
55
Authors@R: c(
66
person("Chris", "Mainey", ,"c.mainey1@nhs.net", role= c("aut", "cre"),
77
comment = c(ORCID ="0000-0002-3018-6171")

NEWS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# FunnelPlotR 0.4.2
2+
- Changes:
3+
* Handling of expected values in SHMI calculation was adjusted to allow rounding to two decimal places to match HED and NHSD. Now controlled with additional argument: `SHMI_rounding` = TRUE/FALSE
4+
* 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).
5+
6+
7+
- Bug-fix:
8+
* an error handling function was not performance correctly and preventing multiple selections.
9+
* Updated plotting as ggplot arguments were deprecated and giving warning notices.
10+
* Updated package author's email address, as I lost access to the old one.
11+
* Updated bits of meta data, codecov, roxygen2 version and github actions.
12+
* Added additional unit tests.
13+
114
# FunnelPlotR 0.4.1
215

316
- Bug-fix release: the outlier function was not passing the 'multiplier' argument and was wrong with anything except the default values. This has been corrected to pass the multiplier properly.

R/funnel_plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ funnel_plot <- function(numerator, denominator, group
331331

332332
if (draw_adjusted == TRUE & phi <=1) {
333333
draw_adjusted <- FALSE
334-
message("No overdispersion detected, or draw_adjusted to FALSE, plotting using unadjusted limits")
334+
message("No overdispersion detected, or draw_adjusted set to FALSE, plotting using unadjusted limits")
335335
draw_unadjusted <- TRUE
336336
}
337337

cran-comments.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Release summary
2-
This is a bug-fix release for the FunnelPlotR package, as a labelling function was not passing a 'multiplier' argument correctly, and was wrong when anything except the default value was used. This is a key function, as one common metric that uses these plots is generally multiplied by 100.
2+
This is a bug-fix release for the FunnelPlotR package:
3+
* an error handling function was not performance correctly and preventing multiple selections.
4+
* A logic step for dealing OD adjustment if there is no OD.
5+
* Updated plotting as ggplot arguments were deprecated and giving warning notices.
6+
* Updated package author's email address, as I lost access to the old one.
7+
* Updated bits of meta data, codecov, roxygen2 version and github actions.
8+
* Added additional unit tests.
39

410
## Test environments
511
* local windows 10, R 4.1.1

0 commit comments

Comments
 (0)