Skip to content

Commit 3bfcf69

Browse files
committed
Advance deprecations
1 parent 793401b commit 3bfcf69

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

R/deprecated.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ggcoef_multicomponents <- function(
3535
table_witdhs = c(3, 2),
3636
...) {
3737
type <- match.arg(type)
38-
lifecycle::deprecate_warn(
38+
lifecycle::deprecate_stop(
3939
when = "0.9.0",
4040
what = "ggcoef_multicomponents()",
4141
with = type |>
@@ -367,7 +367,7 @@ ggcoef_multinom <- function(
367367
table_witdhs = c(3, 2),
368368
...) {
369369
type <- match.arg(type)
370-
lifecycle::deprecate_warn(
370+
lifecycle::deprecate_stop(
371371
when = "0.9.0",
372372
what = "ggcoef_multicomponents()",
373373
with = type |>

R/ggcoef_model.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,12 +371,11 @@ ggcoef_table <- function(
371371
table_witdhs = deprecated(),
372372
...) {
373373
if (lifecycle::is_present(table_witdhs)) {
374-
lifecycle::deprecate_warn(
374+
lifecycle::deprecate_stop(
375375
"0.10.0",
376376
"ggcoef_table(table_witdhs)",
377377
"ggcoef_table(table_widths)"
378378
)
379-
table_widths <- table_witdhs
380379
}
381380

382381
args <- list(...)

0 commit comments

Comments
 (0)