Running 'test-all.R' [24m]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library("testthat")
  > test_check("rcrossref")
  Loading required package: rcrossref
  [ FAIL 24 | WARN 5 | SKIP 4 | PASS 262 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-cr_abstract.R:1:1', 'test-cr_works.R:225:3',
    'test-cr_works_.R:97:3', 'test-id_converter.R:24:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-cr_journals.R:16:5'): cr_journals paging works correctly ─────
  NROW(cr_journals(issn = "1803-2427", works = TRUE, limit = 5)$data) not equal to 5.
  1/1 mismatches
  [1] 3 - 5 == -2
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_journals.R:14:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_equal(...) at test-cr_journals.R:16:5
  ── Failure ('test-cr_journals.R:51:5'): cr_journals warns correctly ────────────
  NROW(suppressWarnings(cr_journals(issn = c("blblbl", "1932-6203")))$data) not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_journals.R:47:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_equal(...) at test-cr_journals.R:51:5
  ── Failure ('test-cr_journals.R:62:5'): ISSNs that used to fail badly - should fail better now ──
  NROW(...) not equal to 2.
  1/1 mismatches
  [1] 1 - 2 == -1
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_journals.R:57:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_equal(...) at test-cr_journals.R:62:5
  ── Failure ('test-cr_r.R:15:5'): cr_r returns ──────────────────────────────────
  `d` inherits from `'NULL'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_r.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(d, "character") at test-cr_r.R:15:5
  ── Failure ('test-cr_r.R:22:5'): cr_r returns ──────────────────────────────────
  length(d) not equal to 20.
  1/1 mismatches
  [1] 0 - 20 == -20
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_r.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_equal(length(d), 20) at test-cr_r.R:22:5
  ── Failure ('test-cr_works.R:34:5'): cr_works returns ──────────────────────────
  f$meta inherits from `'NULL'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(f$meta, "data.frame") at test-cr_works.R:34:5
  ── Failure ('test-cr_works.R:35:5'): cr_works returns ──────────────────────────
  f$facets inherits from `'NULL'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(f$facets, "list") at test-cr_works.R:35:5
  ── Failure ('test-cr_works.R:36:5'): cr_works returns ──────────────────────────
  f$facets$license inherits from `'NULL'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(f$facets$license, "data.frame") at test-cr_works.R:36:5
  ── Failure ('test-cr_works.R:37:5'): cr_works returns ──────────────────────────
  f$facets$license$.id inherits from `'NULL'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(f$facets$license$.id, "character") at test-cr_works.R:37:5
  ── Failure ('test-cr_works.R:49:5'): cr_works returns ──────────────────────────
  length(f) not equal to 3.
  1/1 mismatches
  [1] 1 - 3 == -2
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_equal(length(f), 3) at test-cr_works.R:49:5
  ── Failure ('test-cr_works.R:110:5'): cr_works - parses funders correctly ──────
  Names of bb$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-cr_works.R:110:5
  ── Failure ('test-cr_works.R:120:5'): cr_works - parses funders correctly ──────
  Names of dd$data$funder[[1]] ('DOI', 'award', 'doi.asserted.by', 'id.asserted.by', 'id.id', 'id.id.type', 'name') don't match 'DOI', 'award', 'doi.asserted.by', 'name'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-cr_works.R:120:5
  ── Failure ('test-cr_works.R:127:5'): cr_works - parses funders correctly ──────
  Names of dd$data$funder[[1]] ('DOI', 'award', 'doi.asserted.by', 'id.asserted.by', 'id.id', 'id.id.type', 'name') don't match 'DOI', 'award', 'doi.asserted.by', 'name'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-cr_works.R:127:5
  ── Failure ('test-cr_works.R:134:5'): cr_works - parses funders correctly ──────
  Names of ee$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'award', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by', 'award'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-cr_works.R:134:5
  ── Failure ('test-cr_works.R:140:5'): cr_works - parses funders correctly ──────
  Names of ff$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-cr_works.R:140:5
  ── Failure ('test-cr_works.R:145:5'): cr_works - parses funders correctly ──────
  Names of gg$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'award', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by', 'award'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-cr_works.R:145:5
  ── Failure ('test-cr_works.R:151:5'): cr_works - parses funders correctly ──────
  Names of hh$data$funder[[1]] ('DOI', 'award', 'award1', 'award2', 'doi.asserted.by', 'id.asserted.by', 'id.id', 'id.id.type', 'name') don't match 'DOI', 'award', 'award1', 'award2', 'doi.asserted.by', 'name'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-cr_works.R:151:5
  ── Failure ('test-cr_works_.R:92:5'): cr_works_ - parses funders correctly ─────
  Names of bb$message$funder ('DOI', 'name', 'doi-asserted-by', 'id') don't match 'DOI', 'name', 'doi-asserted-by'
  ── Failure ('test-cr_works_cursor.R:14:5'): cr_works cursor basic functionality works ──
  NROW(aa$data) not equal to 300.
  1/1 mismatches
  [1] 397 - 300 == 97
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-cr_works_cursor.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_equal(NROW(aa$data), 300) at test-cr_works_cursor.R:14:5
  ── Failure ('test-id_converter.R:9:5'): id_converter returns ───────────────────
  Names of `a` ('status', 'response-date', 'request', 'records') don't match 'status', 'responseDate', 'request', 'records'
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_named(...) at test-id_converter.R:9:5
  ── Failure ('test-id_converter.R:11:5'): id_converter returns ──────────────────
  a$responseDate inherits from `'NULL'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(a$responseDate, "character") at test-id_converter.R:11:5
  ── Failure ('test-id_converter.R:12:5'): id_converter returns ──────────────────
  a$request inherits from `'list'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(a$request, "character") at test-id_converter.R:12:5
  ── Failure ('test-id_converter.R:16:5'): id_converter returns ──────────────────
  a$records$pmid inherits from `'integer'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(a$records$pmid, "character") at test-id_converter.R:16:5
  ── Failure ('test-id_converter.R:17:5'): id_converter returns ──────────────────
  a$records$versions[[1]] inherits from `'NULL'` not `'character'`.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─testthat::expect_is(a$records$versions[[1]], "data.frame") at test-id_converter.R:17:5
  
  [ FAIL 24 | WARN 5 | SKIP 4 | PASS 262 ]
  Error: Test failures
  Execution halted