From 64e7ef6d31dca8e0e9626d15881dd26231cc5562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Thu, 7 Nov 2024 13:52:20 +0100 Subject: [PATCH] fix docs --- R/layer_attributes.R | 2 +- man/layer_attributes_summarise.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/layer_attributes.R b/R/layer_attributes.R index 13973ee..40af00a 100644 --- a/R/layer_attributes.R +++ b/R/layer_attributes.R @@ -10,7 +10,7 @@ #' @family attributes #' @export #' -#' @examplesIf interactive +#' @examplesIf interactive() #' layer_attributes_summarise( #' service = "biology", #' layer = "mediseh_zostera_m_pnt" diff --git a/man/layer_attributes_summarise.Rd b/man/layer_attributes_summarise.Rd index 65be4e6..fc73e41 100644 --- a/man/layer_attributes_summarise.Rd +++ b/man/layer_attributes_summarise.Rd @@ -32,7 +32,7 @@ for a given service. Get summaries of layer attributes (variables) } \examples{ -\dontshow{if (interactive) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (interactive()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} layer_attributes_summarise( service = "biology", layer = "mediseh_zostera_m_pnt"