From 9c0359ca30b33d05d0923137d58865cc4511ecf7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 15 Sep 2023 12:29:23 +0200 Subject: [PATCH] fix --- R/model_performance.rma.R | 4 ++-- man/model_performance.rma.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/model_performance.rma.R b/R/model_performance.rma.R index 167eb75bb..6a3fb2e93 100644 --- a/R/model_performance.rma.R +++ b/R/model_performance.rma.R @@ -47,8 +47,8 @@ #' See the documentation for `?metafor::fitstats`. #' } #' -#' @examplesIf require("metafor") -#' data(dat.bcg, package = "metafor") +#' @examplesIf require("metafor") && require("metadat") +#' data(dat.bcg, package = "metadat") #' dat <- metafor::escalc( #' measure = "RR", #' ai = tpos, diff --git a/man/model_performance.rma.Rd b/man/model_performance.rma.Rd index 9f2db24b5..69d1923ba 100644 --- a/man/model_performance.rma.Rd +++ b/man/model_performance.rma.Rd @@ -65,8 +65,8 @@ See the documentation for \code{?metafor::fitstats}. } } \examples{ -\dontshow{if (require("metafor")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} -data(dat.bcg, package = "metafor") +\dontshow{if (require("metafor") && require("metadat")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +data(dat.bcg, package = "metadat") dat <- metafor::escalc( measure = "RR", ai = tpos,