Skip to content

Commit

Permalink
ranef in dispformula also
Browse files Browse the repository at this point in the history
There is another part to `ranef` because we added random effects to the dispformula here, glmmTMB/glmmTMB#997

Signed-off-by: Mollie Brooks <mebrooks@users.noreply.github.com>
  • Loading branch information
mebrooks committed Jun 4, 2024
1 parent 9a592d5 commit 1b80fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-mtscr_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_that("mtscr_model() works as expected", {
# Test that the function returns the expected number of fixed and random effects

expect_equal(length(glmmTMB::fixef(model)), 3)
expect_equal(length(glmmTMB::ranef(model)), 2)
expect_equal(length(glmmTMB::ranef(model)), 3)
})

# Test that `prepared` argument works as expected
Expand Down

0 comments on commit 1b80fb7

Please sign in to comment.