From bb45f6931740f59763da8a7d1908283af062e364 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 22 Jun 2024 07:15:21 +0200 Subject: [PATCH] adapt to easystats changes --- R/contingency-table.R | 2 +- tests/testthat/test-tidy-model-expressions.R | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/contingency-table.R b/R/contingency-table.R index 8e787d7c..0f6763b4 100644 --- a/R/contingency-table.R +++ b/R/contingency-table.R @@ -108,7 +108,7 @@ contingency_table <- function( fixedMargin = fixed.margin, priorConcentration = prior.concentration ) %>% - tidy_model_parameters(ci = conf.level, effectsize_type = "cramers_v", alternative = alternative) + tidy_model_parameters(ci = conf.level, es_type = "cramers_v", alternative = alternative) } if (type == "bayes" && test == "1way") { diff --git a/tests/testthat/test-tidy-model-expressions.R b/tests/testthat/test-tidy-model-expressions.R index 8bbdf010..8c169c62 100644 --- a/tests/testthat/test-tidy-model-expressions.R +++ b/tests/testthat/test-tidy-model-expressions.R @@ -83,7 +83,7 @@ test_that("tidy_model_expressions works - F", { df1 <- tidy_model_expressions( tidy_model_parameters( mod_f, - effectsize_type = "omega", + es_type = "omega", table_wide = TRUE ), statistic = "f" @@ -96,7 +96,7 @@ test_that("tidy_model_expressions works - F", { df2 <- tidy_model_expressions( tidy_model_parameters( mod_f, - effectsize_type = "eta", + es_type = "eta", table_wide = TRUE ), statistic = "f",