Skip to content

Commit

Permalink
Merge pull request #264 from larmarange/speed_tidy_parameters
Browse files Browse the repository at this point in the history
`tidy_parameters()` calls now `parameters::model_parameters()` with `…
  • Loading branch information
larmarange authored Jul 27, 2024
2 parents 724b306 + b5c3a8c commit 243552a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- new argument `model_matrix_attr` in `tidy_and_attach()` and `tidy_plus_plus()`
to attach model frame and model matrix to the model as attributes for saving
some execution time (#254)
- by default, `tidy_parameters()` calls now `parameters::model_parameters()`
with `pretty_names = FALSE` for saving execution time (#259)

**Deprecated support**

Expand Down
1 change: 1 addition & 0 deletions R/custom_tidiers.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ tidy_parameters <- function(x, conf.int = TRUE, conf.level = .95, ...) {
if (!conf.int) conf.level <- NULL
args$ci <- conf.level
args$model <- x
if (is.null(args$pretty_names)) args$pretty_names <- FALSE

if (
inherits(x, "betareg") &&
Expand Down

0 comments on commit 243552a

Please sign in to comment.