Skip to content

Commit 1bd8cb8

Browse files
committed
air styler
1 parent 8237fe6 commit 1bd8cb8

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tests/testthat/test-estimate_grouplevel.R

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,19 +185,28 @@ test_that("estimate_grouplevel type='marginal'", {
185185
m3 <- estimate_grouplevel(model, type = "marginal")
186186
expect_s3_class(m3, "estimate_grouplevel")
187187
expect_equal(dim(m3), c(6, 6))
188-
expect_equal(colnames(m3), c("Group", "Level", "Parameter", "Coefficient", "CI_low", "CI_high"))
188+
expect_equal(
189+
colnames(m3),
190+
c("Group", "Level", "Parameter", "Coefficient", "CI_low", "CI_high")
191+
)
189192

190193
model <- lme4::lmer(mpg ~ hp + (1 + hp | carb), data = mtcars)
191194
m3 <- estimate_grouplevel(model, type = "marginal")
192195
expect_s3_class(m3, "estimate_grouplevel")
193196
expect_equal(dim(m3), c(12, 6))
194-
expect_equal(colnames(m3), c("Group", "Level", "Parameter", "Coefficient", "CI_low", "CI_high"))
197+
expect_equal(
198+
colnames(m3),
199+
c("Group", "Level", "Parameter", "Coefficient", "CI_low", "CI_high")
200+
)
195201

196202
model <- lme4::lmer(mpg ~ hp + (1 + hp | carb) + (1 | gear), data = mtcars)
197203
m3 <- estimate_grouplevel(model, type = "marginal")
198204
expect_s3_class(m3, "estimate_grouplevel")
199205
expect_equal(dim(m3), c(15, 6))
200-
expect_equal(colnames(m3), c("Group", "Level", "Parameter", "Coefficient", "CI_low", "CI_high"))
206+
expect_equal(
207+
colnames(m3),
208+
c("Group", "Level", "Parameter", "Coefficient", "CI_low", "CI_high")
209+
)
201210
})
202211

203212
test_that("estimate_grouplevel type='marginal' correlations", {

0 commit comments

Comments
 (0)