Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 2, 2024
1 parent 159e61c commit 7c93746
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/methods_glmmTMB.R
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ ci.glmmTMB <- function(x,
method <- tolower(method)
method <- insight::validate_argument(
method,
c("wald", "normal", "ml1", "betwithin", "profile", "uniroot", "robust")
c("wald", "normal", "ml1", "betwithin", "profile", "uniroot", "robust", "residual")
)
component <- insight::validate_argument(
component,
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-pool_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test_that("pooled parameters, glmmTMB, components", {
)
expect_equal(out$Coefficient, c(187.280225, -87.838969), tolerance = 1e-3)

out <- pool_parameters(models, component = "all", effects = "all")
out <- suppressMessages(pool_parameters(models, component = "all", effects = "all"))
expect_named(
out,
c(
Expand Down Expand Up @@ -123,7 +123,7 @@ test_that("pooled parameters, glmmTMB, zero-inflated", {
)
})

out <- pool_parameters(models)
out <- pool_parameters(models, ci_method = "residual")
expect_named(
out,
c(
Expand Down

0 comments on commit 7c93746

Please sign in to comment.