Running examples in 'geometa-Ex.R' failed
The error most likely occurred in:

> ### Name: ISOFeatureCatalogue
> ### Title: ISOFeatureCatalogue
> ### Aliases: ISOFeatureCatalogue
> ### Keywords: ISO catalogue feature
> 
> ### ** Examples
> 
>  fc <- ISOFeatureCatalogue$new(uuid = "my-fc-identifier")
>  fc$setName("name")
>  fc$addScope("scope1")
[1] TRUE
>  fc$addScope("scope2")
[1] TRUE
>  fc$addFieldOfApplication("field1")
[1] TRUE
>  fc$addFieldOfApplication("field2")
[1] TRUE
>  fc$setVersionNumber("1.0")
>  fc$setVersionDate(ISOdate(2015, 1, 1, 1))
>  
>  producer <- ISOResponsibleParty$new()
>  producer$setIndividualName("someone")
>  fc$setProducer(producer)
>  fc$setFunctionalLanguage("eng")
>  
>  cit <- ISOCitation$new()
>  cit$setTitle("some citation title")
>  fc$addDefinitionSource(cit)
[1] TRUE
>  #'  #add featureType
>  ft <- ISOFeatureType$new()
>  ft$setTypeName("typeName")
>  ft$setDefinition("definition")
>  ft$setCode("code")
>  ft$setIsAbstract(FALSE)
>  ft$addAlias("alias1")
[1] TRUE
>  ft$addAlias("alias2")
[1] TRUE
>  
>  #add feature attributes
>  for(i in 1:3){
+    #create attribute
+    fat <- ISOFeatureAttribute$new()
+    fat$setMemberName(sprintf("name %s",i))
+    fat$setDefinition(sprintf("definition %s",i))
+    fat$setCardinality(lower=1,upper=1)
+    fat$setCode(sprintf("code %s",i))
+    
+    gml <- GMLBaseUnit$new(id = sprintf("ID%s",i))
+    gml$setDescriptionReference("someref")
+    gml$setIdentifier("identifier", "codespace")
+    gml$addName("name1", "codespace")
+    gml$addName("name2", "codespace")
+    gml$setQuantityTypeReference("someref")
+    gml$setCatalogSymbol("symbol")
+    gml$setUnitsSystem("somelink")
+    fat$setValueMeasurementUnit(gml)
+    
+    #add listed values
+    val1 <- ISOListedValue$new()
+    val1$setCode("code1")
+    val1$setLabel("label1")
+    val1$setDefinition("definition1")
+    fat$addListedValue(val1)
+    val2 <- ISOListedValue$new()
+    val2$setCode("code2")
+    val2$setLabel("label2")
+    val2$setDefinition("definition2")
+    fat$addListedValue(val2)
+    fat$setValueType("typeName")
+    
+    #add feature attribute as carrierOfCharacteristic
+    ft$addCharacteristic(fat)
+  }
>  #add featureType to catalogue
>  fc$addFeatureType(ft)
[1] TRUE
>  
>  xml <- fc$encode()
[geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_ResponsibleParty': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}organisationName, {http://www.isotc211.org/2005/gmd}positionName, {http://www.isotc211.org/2005/gmd}contactInfo, {http://www.isotc211.org/2005/gmd}role ) at line 24. 
[geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Citation': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}alternateTitle, {http://www.isotc211.org/2005/gmd}date ) at line 272. 
[geometa][WARN] Object 'ISOFeatureCatalogue' is INVALID according to ISO 19139 XML schemas! 
Error in inDL(x, as.logical(local), as.logical(now), ...) : 
  unable to load shared object 'D:/RCompile/recent/R/library/tools/libs/x64/tools.dll':
  LoadLibrary failure:  Zugriff verweigert
Calls: <Anonymous> ... getNamespace -> loadNamespace -> library.dynam -> dyn.load -> inDL
Execution halted
Error: failed to load sRGB colorspace file
Fatal error: error during cleanup