diff --git a/R/construction_helpers.R b/R/construction_helpers.R index 6672b1e1..50918991 100644 --- a/R/construction_helpers.R +++ b/R/construction_helpers.R @@ -46,7 +46,7 @@ #' @return depends on the calling function #' @name construction_helpers #' -#' @examplesIf do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = c("withr", "lme4", "broom.helpers", "broom.mixed"), reference_pkg = "cardx")) +#' @examplesIf FALSE && do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = c("withr", "lme4", "broom.helpers", "broom.mixed"), reference_pkg = "cardx")) #' construct_model( #' data = mtcars, #' formula = am ~ mpg + (1 | vs), diff --git a/man/construction_helpers.Rd b/man/construction_helpers.Rd index 4cfcc905..43050cab 100644 --- a/man/construction_helpers.Rd +++ b/man/construction_helpers.Rd @@ -113,7 +113,7 @@ names that contain a space are wrapped in backticks. } } \examples{ -\dontshow{if (do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = c("withr", "lme4", "broom.helpers", "broom.mixed"), reference_pkg = "cardx"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (FALSE && do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = c("withr", "lme4", "broom.helpers", "broom.mixed"), reference_pkg = "cardx"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} construct_model( data = mtcars, formula = am ~ mpg + (1 | vs),