diff --git a/R/ISOMetadata.R b/R/ISOMetadata.R index 091992ac..ea277eb0 100644 --- a/R/ISOMetadata.R +++ b/R/ISOMetadata.R @@ -435,10 +435,12 @@ #' #' #example 2 - READ: Create an ISO metadata reading from XML #' ###################################################### +#' \donttest{ #' require(XML) #' xmlfile <- system.file("extdata/examples", "metadata.xml", package = "geometa") #' xml <- xmlParse(xmlfile) #' md <- ISOMetadata$new(xml = xml) +#' } #' #' @references #' ISO 19115:2003 - Geographic information -- Metadata diff --git a/man/ISOMetadata.Rd b/man/ISOMetadata.Rd index de5ff692..21e4740d 100644 --- a/man/ISOMetadata.Rd +++ b/man/ISOMetadata.Rd @@ -431,10 +431,12 @@ ISOMetadata #example 2 - READ: Create an ISO metadata reading from XML ###################################################### + \donttest{ require(XML) xmlfile <- system.file("extdata/examples", "metadata.xml", package = "geometa") xml <- xmlParse(xmlfile) md <- ISOMetadata$new(xml = xml) + } } \references{