From 22971d617995a2f39831224e89529595e87acc0c Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 1 Oct 2024 22:06:52 +0200 Subject: [PATCH] new arg --- R/performance_aicc.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/performance_aicc.R b/R/performance_aicc.R index 3c433161f..52cf3679c 100644 --- a/R/performance_aicc.R +++ b/R/performance_aicc.R @@ -265,7 +265,7 @@ performance_aicc.rma <- function(x, ...) { .adjust_ic_jacobian <- function(model, ic) { response_transform <- insight::find_transformation(model) if (!is.null(ic) && !is.null(response_transform) && !identical(response_transform, "identity")) { - adjustment <- .safe(.ll_analytic_adjustment(model, insight::get_weights(model, na_rm = TRUE))) + adjustment <- .safe(.ll_analytic_adjustment(model, insight::get_weights(model, remove_na = TRUE))) if (!is.null(adjustment)) { ic <- ic - 2 * adjustment }