Running ‘testthat.R’ [26s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(datapackage.r)
  > 
  > test_check("datapackage.r")
  ── 1. Error: remote  ───────────────────────────────────────────────────────────
  Not resolved Remote URI "http://example.com/schema" for descriptor[[schema]]
  Backtrace:
   1. datapackage.r::Package.load(descriptor)
   2. datapackage.r::dereferencePackageDescriptor(descriptor, basePath)
   3. datapackage.r::dereferenceResourceDescriptor(...)
   4. base::tryCatch(...)
   5. base:::tryCatchList(expr, classes, parentenv, handlers)
   6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7. value[[3L]](cond)
  
  ── 2. Failure: profile tabular-data-package should be up-to-date (@test-profile.
  profile$jsonschema not equal to `response.data`.
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Names: 3 string mismatches
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Length mismatch: comparison on first 5 components
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Names: 1 string mismatch
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Length mismatch: comparison on first 1 components
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: Modes: character, list
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: Lengths: 1, 2
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: target is character, current is list
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 4: Component 1: Component 1: Length mismatch: comparison on first 1 components
  Component "properties": Component "resources": Component "items": Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 4: Component 1: Component 1: Component 1: 1 string mismatch
  ...
  
  ── 3. Failure: profile fiscal-data-package should be up-to-date (@test-profile.R
  profile$jsonschema not equal to `response.data`.
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Names: 3 string mismatches
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Length mismatch: comparison on first 5 components
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Component 3: Names: 1 string mismatch
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Component 3: Length mismatch: comparison on first 1 components
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: Modes: character, list
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: Lengths: 1, 2
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: target is character, current is list
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Component 4: Component 1: Component 1: Length mismatch: comparison on first 1 components
  Component "allOf": Component 1: Component 5: Component 12: Component 6: Component 5: Component 5: Component 6: Component 1: Component 3: Component 3: Component 2: Component 6: Component 9: Component 4: Component 4: Component 1: Component 1: Component 1: 1 string mismatch
  ...
  
  ── 4. Failure: profile tabular-data-resource should be up-to-date (@test-profile
  profile$jsonschema not equal to `response.data`.
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Names: 3 string mismatches
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Length mismatch: comparison on first 5 components
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Names: 1 string mismatch
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Length mismatch: comparison on first 1 components
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: Modes: character, list
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: Lengths: 1, 2
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 3: Component 1: target is character, current is list
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 4: Component 1: Component 1: Length mismatch: comparison on first 1 components
  Component "properties": Component "schema": Component "properties": Component "fields": Component "items": Component "anyOf": Component 2: Component 6: Component 9: Component 4: Component 4: Component 1: Component 1: Component 1: 1 string mismatch
  ...
  
  ── 5. Error: remote  ───────────────────────────────────────────────────────────
  Not resolved Remote URI "http://example.com/schema" for descriptor[[schema]]
  Backtrace:
   1. base::eval.parent(Resource.load(descriptor))
   3. datapackage.r::Resource.load(descriptor)
   4. datapackage.r::dereferenceResourceDescriptor(descriptor, basePath)
   5. base::tryCatch(...)
   6. base:::tryCatchList(expr, classes, parentenv, handlers)
   7. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8. value[[3L]](cond)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 244 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: remote 
  2. Failure: profile tabular-data-package should be up-to-date (@test-profile.R#106) 
  3. Failure: profile fiscal-data-package should be up-to-date (@test-profile.R#106) 
  4. Failure: profile tabular-data-resource should be up-to-date (@test-profile.R#106) 
  5. Error: remote 
  
  Error: testthat unit tests failed
  Execution halted