From f50d66edd8a7a819c766a4d2bb735b30622b1de5 Mon Sep 17 00:00:00 2001 From: Gavin Simpson Date: Tue, 6 Feb 2024 12:49:17 +0100 Subject: [PATCH] document new penalty.default() methods and bump version --- DESCRIPTION | 4 ++-- NEWS.md | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b54b4caba..5747fef35 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: gratia -Version: 0.8.9.3 -Date: 2024-02-03 +Version: 0.8.9.4 +Date: 2024-02-6 Title: Graceful 'ggplot'-Based Graphics and Other Functions for GAMs Fitted Using 'mgcv' Authors@R: c(person(given = "Gavin L.", family = "Simpson", email = "ucfagls@gmail.com", diff --git a/NEWS.md b/NEWS.md index 77b2624c6..788bce1e6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# gratia 0.8.9.3 +# gratia 0.8.9.4 ## Breaking changes @@ -220,6 +220,9 @@ eventual 1.0.0 release. These functions will become defunct by version 0.11.0 or * `smooth_label()` is a new function for extracting the labels 'mgcv' creates for smooths from the smooth object itself. +* `penalty()` has a default method that works with `s()`, `te()`, `t2()`, and + `ti()`, which create a smooth specification. + ## Bug fixes * `link()`, `inv_link()`, and related family functions for the `ocat()` weren't