Skip to content

Commit

Permalink
fix for insight
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 1, 2024
1 parent 363d102 commit 819f022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/performance_aicc.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 819f022

Please sign in to comment.