diff --git a/R/ppm.R b/R/ppm.R index 6b798dc68..3bc6679c1 100644 --- a/R/ppm.R +++ b/R/ppm.R @@ -7,7 +7,7 @@ #' @seealso The 'pkgcache and Posit Package Manager on Linux' #' article at <`r pkgcache:::pkgdown_url()`>. #' @family PPM functions -#' @examplesIf !pkgcache:::is_rcmd_check() +#' @examplesIf FALSE #' system_r_platform() #' ppm_has_binaries() @@ -37,7 +37,7 @@ ppm_has_binaries_internal <- function() { #' article at <`r pkgcache:::pkgdown_url()`>. #' @family PPM functions #' @export -#' @examplesIf !pkgcache:::is_rcmd_check() +#' @examplesIf FALSE #' ppm_platforms() ppm_platforms <- function() { @@ -62,7 +62,7 @@ ppm_platforms_internal <- function() { #' article at <`r pkgcache:::pkgdown_url()`>. #' @family PPM functions #' @export -#' @examplesIf !pkgcache:::is_rcmd_check() +#' @examplesIf FALSE #' ppm_r_versions() ppm_r_versions <- function() { @@ -111,7 +111,7 @@ ppm_r_versions_internal <- function() { #' @seealso [repo_resolve()] and [repo_add()] to find and configure PPM #' snapshots. #' @family PPM functions -#' @examples +#' @examplesIf FALSE #' ppm_repo_url() ppm_repo_url <- function() { @@ -158,7 +158,7 @@ ppm_repo_url_internal <- function() { #' article at <`r pkgcache:::pkgdown_url()`>. #' @family PPM functions #' @export -#' @examplesIf !pkgcache:::is_rcmd_check() +#' @examplesIf FALSE #' ppm_snapshots() ppm_snapshots <- function() { diff --git a/R/system.R b/R/system.R index 38b738cd0..a8a0f9c3f 100644 --- a/R/system.R +++ b/R/system.R @@ -56,7 +56,7 @@ #' @export #' @seealso These function call [pkgcache::current_r_platform()] and #' [pkgcache::current_r_platform_data()]. -#' @examples +#' @examplesIf FALSE #' system_r_platform() #' system_r_platform_data() diff --git a/man/ppm_has_binaries.Rd b/man/ppm_has_binaries.Rd index d0b08e499..96e199a3b 100644 --- a/man/ppm_has_binaries.Rd +++ b/man/ppm_has_binaries.Rd @@ -13,7 +13,7 @@ ppm_has_binaries() Does PPM build binary packages for the current platform? } \examples{ -\dontshow{if (!pkgcache:::is_rcmd_check()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} system_r_platform() ppm_has_binaries() \dontshow{\}) # examplesIf} diff --git a/man/ppm_platforms.Rd b/man/ppm_platforms.Rd index 7c950baad..4300d6f8f 100644 --- a/man/ppm_platforms.Rd +++ b/man/ppm_platforms.Rd @@ -22,7 +22,7 @@ platform, see \code{\link[=ppm_snapshots]{ppm_snapshots()}}. List all platforms supported by Posit Package Manager (PPM) } \examples{ -\dontshow{if (!pkgcache:::is_rcmd_check()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} ppm_platforms() \dontshow{\}) # examplesIf} } diff --git a/man/ppm_r_versions.Rd b/man/ppm_r_versions.Rd index 74a727034..ccce5727e 100644 --- a/man/ppm_r_versions.Rd +++ b/man/ppm_r_versions.Rd @@ -17,7 +17,7 @@ first two components of R versions supported by this PPM instance. List all R versions supported by Posit Package Manager (PPM) } \examples{ -\dontshow{if (!pkgcache:::is_rcmd_check()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} ppm_r_versions() \dontshow{\}) # examplesIf} } diff --git a/man/ppm_repo_url.Rd b/man/ppm_repo_url.Rd index 00c0748d3..fbc19a809 100644 --- a/man/ppm_repo_url.Rd +++ b/man/ppm_repo_url.Rd @@ -38,7 +38,9 @@ uses the public PPM instance at \verb{https://packagemanager.posit.co}, with the \code{cran} repository. } \examples{ +\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} ppm_repo_url() +\dontshow{\}) # examplesIf} } \seealso{ The 'pkgcache and Posit Package Manager on Linux' diff --git a/man/ppm_snapshots.Rd b/man/ppm_snapshots.Rd index 979f3d9b8..f2b08d82a 100644 --- a/man/ppm_snapshots.Rd +++ b/man/ppm_snapshots.Rd @@ -42,7 +42,7 @@ of a supported Linux distribution. See the \code{binary_url} column of the result of \code{\link[=ppm_platforms]{ppm_platforms()}} for these code names. } \examples{ -\dontshow{if (!pkgcache:::is_rcmd_check()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} ppm_snapshots() \dontshow{\}) # examplesIf} } diff --git a/man/system_r_platform.Rd b/man/system_r_platform.Rd index 5aec7ecae..bb472c267 100644 --- a/man/system_r_platform.Rd +++ b/man/system_r_platform.Rd @@ -73,8 +73,10 @@ builds might have the same platform string, unfortunately.) } } \examples{ +\dontshow{if (FALSE) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} system_r_platform() system_r_platform_data() +\dontshow{\}) # examplesIf} } \seealso{ These function call \code{\link[pkgcache:current_r_platform]{pkgcache::current_r_platform()}} and