diff --git a/R/check_convergence.R b/R/check_convergence.R index f86bff381..8472b8770 100644 --- a/R/check_convergence.R +++ b/R/check_convergence.R @@ -107,3 +107,8 @@ check_convergence.glmmTMB <- function(x, ...) { # https://github.com/glmmTMB/glmmTMB/issues/275 isTRUE(x$sdr$pdHess) } + +#' @export +check_convergence._glm <- function(x, ...){ + isTRUE(x$fit$converged) +}