From 2fc92881f84e3d162c77973bba9ea7c387acb8ae Mon Sep 17 00:00:00 2001 From: eblondel Date: Wed, 1 Jan 2025 21:47:20 +0100 Subject: [PATCH] examples --- R/ISOReferenceSystemType.R | 4 ++++ man/ISOReferenceSystemType.Rd | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/R/ISOReferenceSystemType.R b/R/ISOReferenceSystemType.R index ded25e8c..94827dc1 100644 --- a/R/ISOReferenceSystemType.R +++ b/R/ISOReferenceSystemType.R @@ -8,10 +8,14 @@ #' @format \code{\link[R6]{R6Class}} object. #' #' @examples +#' \dontrun{ +#' setMetadataStandard("19115-3") #' #possible values #' values <- ISOReferenceSystemType$values(labels = TRUE) #' #' projected <- ISOReferenceSystemType$new(value = "projected") +#' setMetadataStandard("19139") +#' } #' #' @references #' - ISO 19115-3 \url{https://schemas.isotc211.org/19115/-3/mrs/1.0/mrs/#element_MD_ReferenceSystemTypeCode} diff --git a/man/ISOReferenceSystemType.Rd b/man/ISOReferenceSystemType.Rd index 8d3ea984..1092232c 100644 --- a/man/ISOReferenceSystemType.Rd +++ b/man/ISOReferenceSystemType.Rd @@ -16,10 +16,14 @@ ISOReferenceSystemType ISOReferenceSystemType } \examples{ +\dontrun{ + setMetadataStandard("19115-3") #possible values values <- ISOReferenceSystemType$values(labels = TRUE) projected <- ISOReferenceSystemType$new(value = "projected") + setMetadataStandard("19139") + } } \references{