From 418a4aa5f1aee272b1df23b7297902201deffbb0 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 16 Mar 2024 10:29:03 +0100 Subject: [PATCH] use latest performance --- DESCRIPTION | 1 + R/plot.performance_simres.R | 2 +- man/plot.see_performance_simres.Rd | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e399380d5..f3924493d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -119,3 +119,4 @@ Config/Needs/website: r-lib/pkgdown, easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true +Remotes: easystats/performance@643 diff --git a/R/plot.performance_simres.R b/R/plot.performance_simres.R index a282a1d67..bb5b93a5a 100644 --- a/R/plot.performance_simres.R +++ b/R/plot.performance_simres.R @@ -14,7 +14,7 @@ #' #' @seealso See also the vignette about [`check_model()`](https://easystats.github.io/performance/articles/check_model.html). #' -#' @examplesIf require("performance") && require("glmmTMB") && require("qqplotr") && require("DHARMa") +#' @examplesIf insight::check_if_installed("performance", "0.10.9.7") && require("glmmTMB") && require("qqplotr") && require("DHARMa") #' data(Salamanders, package = "glmmTMB") #' model <- glmmTMB::glmmTMB( #' count ~ mined + spp + (1 | site), diff --git a/man/plot.see_performance_simres.Rd b/man/plot.see_performance_simres.Rd index 8ee287a57..6520442bc 100644 --- a/man/plot.see_performance_simres.Rd +++ b/man/plot.see_performance_simres.Rd @@ -50,7 +50,7 @@ The \code{plot()} method for the \code{performance::check_residuals()} resp. \code{performance::simulate_residuals()} function. } \examples{ -\dontshow{if (require("performance") && require("glmmTMB") && require("qqplotr") && require("DHARMa")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (insight::check_if_installed("performance", "0.10.9.7") && require("glmmTMB") && require("qqplotr") && require("DHARMa")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} data(Salamanders, package = "glmmTMB") model <- glmmTMB::glmmTMB( count ~ mined + spp + (1 | site),