Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 3, 2024
1 parent 1cf9578 commit b50b995
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/plot.check_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ plot.see_check_distribution <- function(x, size_point = 2, panel = TRUE, ...) {
theme_lucid()

if (panel) {
p1 / (p2 | p3) + patchwork::plot_layout(nrow = 2)
insight::check_if_installed("patchwork")
return(p1 / (p2 | p3) + patchwork::plot_layout(nrow = 2))
} else {
list(p1, p2, p3)
return(list(p1, p2, p3))
}
}

Expand Down

0 comments on commit b50b995

Please sign in to comment.