From 6761b5fbedba4ccd990b2f654c40809adcdba6cc Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 28 Apr 2024 19:55:26 +0200 Subject: [PATCH] get rid of ggrepel warnings --- R/plot.check_homogeneity.R | 6 ++++-- vignettes/performance.Rmd | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/R/plot.check_homogeneity.R b/R/plot.check_homogeneity.R index d5bfe9df2..209e6f1b8 100644 --- a/R/plot.check_homogeneity.R +++ b/R/plot.check_homogeneity.R @@ -66,7 +66,8 @@ plot.see_check_homogeneity <- function(x, data = NULL, ...) { stringsAsFactors = FALSE ), direction = "y", - segment.colour = NA + segment.colour = NA, + max.overlaps = Inf ) } else { geom_label( @@ -96,7 +97,8 @@ plot.see_check_homogeneity <- function(x, data = NULL, ...) { stringsAsFactors = FALSE ), direction = "y", - segment.colour = NA + segment.colour = NA, + max.overlaps = Inf ) } else { geom_label( diff --git a/vignettes/performance.Rmd b/vignettes/performance.Rmd index 0a3ae1fe9..36b8ac2bb 100644 --- a/vignettes/performance.Rmd +++ b/vignettes/performance.Rmd @@ -208,7 +208,7 @@ _([related function documentation](https://easystats.github.io/performance/refer ```{r} model <- lm(len ~ supp + dose, data = ToothGrowth) result <- check_homogeneity(model) -suppressWarnings(plot(result)) +plot(result) ``` ## Posterior Predictive Checks