Skip to content

Commit

Permalink
document fix for #284; document breaking change to names of parametri…
Browse files Browse the repository at this point in the history
…c_effects objects that got missed in 0.9.0; bump patch version
  • Loading branch information
gavinsimpson committed May 19, 2024
1 parent 6fd5b5b commit 0e4da89
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: gratia
Version: 0.9.0.9004
Version: 0.9.0.9005
Date: 2024-05-17
Title: Graceful 'ggplot'-Based Graphics and Other Functions for GAMs Fitted Using 'mgcv'
Authors@R: c(person(given = "Gavin L.", family = "Simpson",
Expand Down
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# gratia (development version)

## Breaking changes

* `parametric_effects()` slightly escaped the great renaming that happened for
0.9.0. Columns `type` and `term` did not gain a prefix `.`. This is now
rectified and these two columns are now `.type` and `.term`.

## Bug fixes

* `partial_residuals()` was computing partial residuals from the *deviance*
Expand All @@ -19,6 +25,13 @@
* `confint.gam()` was not applying `shift` to the estimate and upper and lower
interval. #280 reported by @TIMAVID & @rbentham

* `parametric_effects()` and `draw.parametric_effects()` would forget about the
levels of factors (intentionally), but this would lead to problems with
ordered factors where the ordering of levels was not preserved. Now,
`parametric_effects()` returns a named list of factor levels as attribute
`"factor_levels"` containing the required information and the order of levels
is preserved when plotting. #284 Reported by @mhpob

# gratia 0.9.0

## Breaking changes
Expand Down

0 comments on commit 0e4da89

Please sign in to comment.