From 789b5c11d856895317a201b7a9545e3ca3c81f46 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 30 Aug 2023 15:24:50 +0200 Subject: [PATCH] fix global variable issue --- R/plot.check_normality.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,