Skip to content

Commit 8f4a4c8

Browse files
committed
hotfix
1 parent 925bf68 commit 8f4a4c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: see
33
Title: Model Visualisation Toolbox for 'easystats' and 'ggplot2'
4-
Version: 0.11.0.4
4+
Version: 0.11.0.5
55
Authors@R:
66
c(person(given = "Daniel",
77
family = "Lüdecke",

R/plot.check_normality.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ plot.see_check_normality <- function(
101101
)[order(order(res_))]
102102
dat <- stats::na.omit(data.frame(x = fitted_, y = res_))
103103
} else if (inherits(model, c("fa", "principle", "parameters_efa"))) {
104-
res_ <- abs(insight::get_residuals(model))
104+
res_ <- suppressMessages(sort(insight::get_residuals(model), na.last = NA))
105105
dat <- stats::na.omit(data.frame(y = res_))
106106
} else if (inherits(model, "performance_simres")) {
107107
return(plot.see_performance_simres(
@@ -165,7 +165,7 @@ plot.see_check_normality <- function(
165165
)
166166
} else if (type == "pp") {
167167
if (inherits(model, c("fa", "principle", "parameters_efa"))) {
168-
x <- sort(insight::get_residuals(model))
168+
x <- suppressMessages(sort(insight::get_residuals(model), na.last = NA))
169169
} else {
170170
x <- suppressMessages(sort(stats::residuals(model), na.last = NA))
171171
}

0 commit comments

Comments
 (0)