Running ‘test-all.R’ [15s/42s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library(geometa)
  Loading ISO 19139 XML schemas...
  Loading ISO 19115 codelists...
  Warning message:
  In XML::xmlParse(xsdFile, isSchema = TRUE, xinclude = TRUE, error = function(msg,  :
    NULL value for external reference
  > test_check("geometa")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (277)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_ISOBaseBoolean.R:16:3): encoding ────────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseBoolean.R:16:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseBoolean.R:33:3): encoding with coercing ──────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseBoolean.R:33:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseCharacterString.R:16:3): encoding ────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseCharacterString.R:16:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseDate.R:16:3): encoding ───────────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseDate.R:16:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseDateTime.R:16:3): encoding ───────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseDateTime.R:16:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseDateTime.R:34:3): encoding - datetime in UTC ─────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseDateTime.R:34:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseDateTime.R:52:3): encoding - datetime in other timezone ──
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseDateTime.R:52:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseDecimal.R:16:3): encoding ────────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseDecimal.R:16:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseInteger.R:15:3): encoding ────────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseInteger.R:15:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseInteger.R:31:3): encoding with coercing ──────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseInteger.R:31:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOBaseReal.R:16:3): encoding ───────────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOBaseReal.R:16:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISODate.R:18:3): encoding ───────────────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISODate.R:18:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOFileName.R:14:3): encoding ───────────────────────────────────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOFileName.R:14:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  ── Error (test_ISOLocalisedCharacterString.R:96:3): encoding - i18n - ZH ───────
  Error: trying to get slot "ref" from an object of a basic class ("NULL") with no slots
  Backtrace:
      █
   1. └─md$encode() test_ISOLocalisedCharacterString.R:96:2
   2.   └─self$validate(xml = out, strict = strict, inspire = inspire)
   3.     └─XML::xmlSchemaValidate(xsd, xml)
  
  [ FAIL 14 | WARN 0 | SKIP 277 | PASS 26 ]
  Error: Test failures
  Execution halted