Skip to content

Commit

Permalink
update names
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 30, 2024
1 parent c4acec0 commit b025fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/check_model_diagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
if (!is.na(match(faminfo$family, c("binomial", "poisson", "truncated_poisson")))) {
return(1)
}
betad <- model$fit$par["betad"]
betad <- model$fit$par["betadisp"]
switch(faminfo$family,
gaussian = exp(0.5 * betad),
Gamma = exp(-0.5 * betad),
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-check_singularity.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test_that("check_singularity", {
newparam = list(
beta = 0,
theta = rep(0, 21),
betad = 0
betadisp = 0
)
)[[1]]
expect_warning(expect_warning({
Expand Down

0 comments on commit b025fdb

Please sign in to comment.