@@ -43,7 +43,11 @@ test_that("attributes_means, contrasts", {
4343 " comparison" , " contrast" , " transform" , " keep_iterations" , " joint_test"
4444 )
4545 )
46- estim <- suppressMessages(estimate_contrasts(model , " Species" , backend = " marginaleffects" ))
46+ estim <- suppressMessages(estimate_contrasts(
47+ model ,
48+ " Species" ,
49+ backend = " marginaleffects"
50+ ))
4751 # fmt: skip
4852 expect_named(
4953 attributes(estim ),
@@ -52,7 +56,7 @@ test_that("attributes_means, contrasts", {
5256 " model" , " response" , " ci" , " p_adjust" , " backend" , " call" , " focal_terms" ,
5357 " adjusted_for" , " predict" , " comparison" , " contrast" , " estimate" ,
5458 " transform" , " datagrid" , " preserve_range" , " coef_name" , " model_info" ,
55- " keep_iterations" , " joint_test" , " vcov"
59+ " keep_iterations" , " joint_test" , " vcov" , " context_effects "
5660 )
5761 )
5862 estim <- suppressMessages(estimate_contrasts(
@@ -68,7 +72,7 @@ test_that("attributes_means, contrasts", {
6872 " model" , " response" , " ci" , " p_adjust" , " backend" , " call" , " focal_terms" ,
6973 " adjusted_for" , " predict" , " comparison" , " contrast" , " estimate" ,
7074 " transform" , " datagrid" , " preserve_range" , " coef_name" , " model_info" ,
71- " keep_iterations" , " joint_test" , " vcov"
75+ " keep_iterations" , " joint_test" , " vcov" , " context_effects "
7276 )
7377 )
7478 estim <- suppressMessages(estimate_contrasts(
@@ -85,7 +89,7 @@ test_that("attributes_means, contrasts", {
8589 " model" , " response" , " ci" , " p_adjust" , " backend" , " call" , " focal_terms" ,
8690 " adjusted_for" , " predict" , " comparison" , " contrast" , " estimate" ,
8791 " transform" , " datagrid" , " preserve_range" , " coef_name" , " model_info" ,
88- " contrast_filter" , " keep_iterations" , " joint_test" ," vcov"
92+ " contrast_filter" , " keep_iterations" , " joint_test" ," vcov" , " context_effects "
8993 )
9094 )
9195})
@@ -105,7 +109,11 @@ test_that("attributes_means, slopes", {
105109 " keep_iterations"
106110 )
107111 )
108- estim <- suppressMessages(estimate_slopes(model , " Sepal.Width" , backend = " marginaleffects" ))
112+ estim <- suppressMessages(estimate_slopes(
113+ model ,
114+ " Sepal.Width" ,
115+ backend = " marginaleffects"
116+ ))
109117 # fmt: skip
110118 expect_named(
111119 attributes(estim ),
0 commit comments