You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
insight::format_alert(sprintf("`%s` must be one of \"wald\", \"normal\" or \"boot\". Using \"wald\" now.", type)) # nolint
107
+
insight::format_alert(sprintf(
108
+
"`%s` must be one of \"wald\", \"normal\" or \"boot\". Using \"wald\" now.",
109
+
type
110
+
))
104
111
}
105
112
return(FALSE)
106
113
}
@@ -109,31 +116,52 @@ dof <- degrees_of_freedom
109
116
info<-insight::model_info(model, verbose=FALSE)
110
117
if (!is.null(info) && isFALSE(info$is_mixed) &&method=="boot") {
111
118
if (verbose) {
112
-
insight::format_alert(sprintf("`%s=boot` only works for mixed models of class `merMod`. To bootstrap this model, use `bootstrap=TRUE, ci_method=\"bcai\"`.", type)) # nolint
119
+
insight::format_alert(sprintf(
120
+
"`%s=boot` only works for mixed models of class `merMod`. To bootstrap this model, use `bootstrap=TRUE, ci_method=\"bcai\"`.",
insight::format_alert(sprintf("`%s` must be one of \"residual\", \"wald\", \"normal\", \"profile\", \"boot\", \"uniroot\", \"betwithin\" or \"ml1\". Using \"wald\" now.", type)) # nolint
134
+
insight::format_alert(sprintf(
135
+
"`%s` must be one of \"residual\", \"wald\", \"normal\", \"profile\", \"boot\", \"uniroot\", \"betwithin\" or \"ml1\". Using \"wald\" now.",
insight::format_alert(sprintf("`%s` must be one of \"residual\", \"wald\", \"normal\", \"profile\", \"boot\", \"uniroot\", \"kenward\", \"satterthwaite\", \"betwithin\" or \"ml1\". Using \"wald\" now.", type)) # nolint
151
+
insight::format_alert(sprintf(
152
+
"`%s` must be one of \"residual\", \"wald\", \"normal\", \"profile\", \"boot\", \"uniroot\", \"kenward\", \"satterthwaite\", \"betwithin\" or \"ml1\". Using \"wald\" now.",
153
+
type
154
+
))
130
155
}
131
156
return(FALSE)
132
-
}
157
+
}
133
158
134
159
if (!info$is_linear&&method%in% c("satterthwaite", "kenward", "kr")) {
135
160
if (verbose) {
136
-
insight::format_alert(sprintf("`%s`-degrees of freedoms are only available for linear mixed models.", method))
161
+
insight::format_alert(sprintf(
162
+
"`%s`-degrees of freedoms are only available for linear mixed models.",
0 commit comments