Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 16, 2024
1 parent 1514b64 commit 2478048
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/testthat/test-get_marginaleffects.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ test_that("get_marginaleffects", {
skip_if_not_installed("lme4")

model <- lm(Sepal.Width ~ Species * Petal.Length, data = iris)

expect_equal(nrow(get_marginaleffects(model, trend = "Petal.Length", by = "Species")), 3L)

# get_marginaleffects(model, trend = "Petal.Length", by = "Species", length = 10)
out <- get_marginaleffects(model, trend = "Petal.Length", by = "Species")
expect_identical(nrow(out), 3L)
})

0 comments on commit 2478048

Please sign in to comment.