Skip to content

Commit

Permalink
get rid of ggrepel warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Apr 28, 2024
1 parent 7a54245 commit 6761b5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions R/plot.check_homogeneity.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion vignettes/performance.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6761b5f

Please sign in to comment.