Running ‘test-all.R’ [3s/155s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("rdatacite")
  Loading required package: rdatacite
  [ FAIL 9 | WARN 0 | SKIP 1 | PASS 55 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-dc_cn.R:19:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-dc_activities.R:8:3'): dc_activities works ───────────────────
  sort(names(aa)) not equal to c("data", "included", "links", "meta").
  Lengths differ: 3 is not 4
  ── Failure ('test-dc_activities.R:10:3'): dc_activities works ──────────────────
  aa$included inherits from `'NULL'` not `'character'`.
  ── Failure ('test-dc_client_prefixes.R:8:3'): dc_client_prefixes works ─────────
  sort(names(aa)) not equal to c("data", "included", "links", "meta").
  Lengths differ: 3 is not 4
  ── Failure ('test-dc_client_prefixes.R:10:3'): dc_client_prefixes works ────────
  aa$included inherits from `'NULL'` not `'character'`.
  ── Failure ('test-dc_clients.R:8:3'): dc_clients works ─────────────────────────
  sort(names(aa)) not equal to c("data", "included", "links", "meta").
  Lengths differ: 3 is not 4
  ── Failure ('test-dc_clients.R:10:3'): dc_clients works ────────────────────────
  aa$included inherits from `'NULL'` not `'character'`.
  ── Failure ('test-dc_dois.R:8:3'): dc_dois works ───────────────────────────────
  sort(names(aa)) not equal to c("data", "included", "links", "meta").
  Lengths differ: 3 is not 4
  ── Failure ('test-dc_dois.R:10:3'): dc_dois works ──────────────────────────────
  aa$included inherits from `'NULL'` not `'character'`.
  ── Error ('test-dc_events.R:5:5'): dc_events works ─────────────────────────────
  <http_500/http_error/error/condition>
  Error: Internal Server Error (HTTP 500)
  Backtrace:
       ▆
    1. ├─vcr::use_cassette(...) at test-dc_events.R:4:3
    2. │ └─cassette$call_block(...)
    3. └─rdatacite::dc_events(limit = 5) at test-dc_events.R:5:5
    4.   ├─rdatacite:::as_dc(dc_GET("events", args, ...), "events")
    5.   │ └─base::structure(x, class = "dc", fun = fun)
    6.   └─rdatacite:::dc_GET("events", args, ...)
    7.     └─res$raise_for_status()
    8.       ├─fauxpas::http(self, behavior = "stop")
    9.       └─fauxpas:::http.HttpResponse(self, behavior = "stop")
   10.         └─tmp$do(response)
  
  [ FAIL 9 | WARN 0 | SKIP 1 | PASS 55 ]
  Error: Test failures
  Execution halted