Skip to content

Commit 21c707a

Browse files
committed
fix
1 parent 5398c5e commit 21c707a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/testthat/test-estimate_contrasts.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,9 +1055,8 @@ test_that("estimate_contrast, marginal effects inequalities", {
10551055
)
10561056

10571057
m <- glm(long_bill ~ species + island + sex + bill_dep, data = penguins, family = "binomial")
1058-
out <- estimate_contrasts(m, "species", by = c("island", "sex"), comparison = "inequality")
10591058
expect_error(
1060-
estimate_contrasts(m, c("species", "bill_dep"), comparison = "inequality"),
1059+
estimate_contrasts(m, "species", by = c("island", "sex"), comparison = "inequality"),
10611060
regex = "can only contain one variable"
10621061
)
10631062
})

0 commit comments

Comments
 (0)