Skip to content

Commit

Permalink
check if package is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke authored Apr 13, 2024
1 parent 756878b commit cc79c71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/methods_glmmTMB.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ get_vcov.glmmTMB <- function(model, ...) {
#' @rdname get_coef
#' @export
get_coef.glmmTMB <- function(model, ...) {
insight::check_if_installed("lme4")
lme4::fixef(model)$cond
}

Expand Down

0 comments on commit cc79c71

Please sign in to comment.