diff --git a/R/plot.check_normality.R b/R/plot.check_normality.R index d3f6a3ffc..3c1389009 100644 --- a/R/plot.check_normality.R +++ b/R/plot.check_normality.R @@ -236,7 +236,7 @@ plot.see_check_normality <- function(x, } , ggplot2::geom_qq( - mapping = if (detrend) ggplot2::aes(y = ggplot2::after_stat(sample) - ggplot2::after_stat(theoretical)), + mapping = if (detrend) ggplot2::aes(y = ggplot2::after_stat("sample") - ggplot2::after_stat("theoretical")), shape = 16, na.rm = TRUE, stroke = 0,