From 991b4831b6ee7eb08ca661856eeb196aa19c5eb5 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 27 Oct 2023 10:06:42 +0200 Subject: [PATCH] add class attr for see::plot --- R/check_normality.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/check_normality.R b/R/check_normality.R index 8f0d9dd85..215d6a6c6 100644 --- a/R/check_normality.R +++ b/R/check_normality.R @@ -104,7 +104,7 @@ check_normality.performance_simres <- function(x, ...) { attr(p.val, "object_name") <- insight::safe_deparse_symbol(substitute(x)) attr(p.val, "effects") <- "fixed" attr(p.val, "type") <- "residuals" - class(p.val) <- unique(c("check_normality", "see_check_normality", class(p.val))) + class(p.val) <- unique(c("check_normality", "see_check_normality", "performance_simres", class(p.val))) p.val }