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"