Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jan 15, 2025
1 parent f7a165c commit 1cc4a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-get_datagrid.R
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ test_that("get_datagrid - include_random works with interacting random effects",
out <- insight::get_datagrid(model, by = c("cyl", "gear", "vs"))
expect_named(out, c("cyl", "gear", "vs", "hp"))
expect_identical(dim(out), c(18L, 4L))
out <- get_predicted(model, out, allow.new.levels = TRUE)
expect_identical(dim(out), c(18L, 3L))
out <- get_predicted(model, data = out, allow.new.levels = TRUE)
expect_identical(dim(as.data.frame(out)), c(18L, 3L))
expect_equal(
as.numeric(out),
c(
Expand Down

0 comments on commit 1cc4a5d

Please sign in to comment.