From 4202921653e1d6d01278399cd2fe4239c7c891e0 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 23 Mar 2024 21:53:43 +0100 Subject: [PATCH] another example to fix --- R/plot.check_model.R | 1 + man/plot.see_check_model.Rd | 1 + 2 files changed, 2 insertions(+) diff --git a/R/plot.check_model.R b/R/plot.check_model.R index 6e1a7328b..9aaba14e4 100644 --- a/R/plot.check_model.R +++ b/R/plot.check_model.R @@ -12,6 +12,7 @@ #' @seealso See also the vignette about [`check_model()`](https://easystats.github.io/performance/articles/check_model.html). #' #' @examplesIf require("patchwork") +#' library(performance) #' model <- lm(qsec ~ drat + wt, data = mtcars) #' plot(check_model(model)) #' diff --git a/man/plot.see_check_model.Rd b/man/plot.see_check_model.Rd index 50d55abe2..a6c55f6fc 100644 --- a/man/plot.see_check_model.Rd +++ b/man/plot.see_check_model.Rd @@ -39,6 +39,7 @@ Diagnostic plots for regression models. } \examples{ \dontshow{if (require("patchwork")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +library(performance) model <- lm(qsec ~ drat + wt, data = mtcars) plot(check_model(model)) \dontshow{\}) # examplesIf}