@@ -198,8 +198,14 @@ model_parameters.glmmTMB <- function(model,
198198 ci_method <- .check_df_method(ci_method )
199199
200200 # which components to return?
201- effects <- insight :: validate_argument(effects , c(" fixed" , " random" , " all" ))
202- component <- insight :: validate_argument(component , c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" ))
201+ effects <- insight :: validate_argument(
202+ effects ,
203+ c(" fixed" , " random" , " all" )
204+ )
205+ component <- insight :: validate_argument(
206+ component ,
207+ c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" )
208+ )
203209
204210 # standardize only works for fixed effects...
205211 if (! is.null(standardize ) && standardize != " refit" ) {
@@ -419,8 +425,14 @@ ci.glmmTMB <- function(x,
419425 verbose = TRUE ,
420426 ... ) {
421427 method <- tolower(method )
422- method <- insight :: validate_argument(method , c(" wald" , " normal" , " ml1" , " betwithin" , " profile" , " uniroot" , " robust" ))
423- component <- insight :: validate_argument(component , c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" ))
428+ method <- insight :: validate_argument(
429+ method ,
430+ c(" wald" , " normal" , " ml1" , " betwithin" , " profile" , " uniroot" , " robust" )
431+ )
432+ component <- insight :: validate_argument(
433+ component ,
434+ c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" )
435+ )
424436
425437 if (is.null(.check_component(x , component , verbose = verbose ))) {
426438 return (NULL )
@@ -466,7 +478,10 @@ standard_error.glmmTMB <- function(model,
466478 component = " all" ,
467479 verbose = TRUE ,
468480 ... ) {
469- component <- insight :: validate_argument(component , c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" ))
481+ component <- insight :: validate_argument(
482+ component ,
483+ c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" )
484+ )
470485 effects <- insight :: validate_argument(effects , c(" fixed" , " random" ))
471486
472487 dot_args <- .check_dots(
@@ -528,7 +543,10 @@ simulate_model.glmmTMB <- function(model,
528543 component = " all" ,
529544 verbose = FALSE ,
530545 ... ) {
531- component <- insight :: validate_argument(component , c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" ))
546+ component <- insight :: validate_argument(
547+ component ,
548+ c(" all" , " conditional" , " zi" , " zero_inflated" , " dispersion" )
549+ )
532550 info <- insight :: model_info(model , verbose = FALSE )
533551
534552 # # TODO remove is.list() when insight 0.8.3 on CRAN
0 commit comments