Running ‘test-all.R’ [4s/49s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("crminer")
  Loading required package: crminer
  ── Skip (test-caching.R:26:3): crm_cache works as expected ─────────────────────
  Reason: On CRAN
  
  ── Skip (test-crm_html.R:10:3): crm_html works with links input ────────────────
  Reason: On CRAN
  
  ── Skip (test-crm_html.R:20:3): crm_html works with character URL input ────────
  Reason: On CRAN
  
  ── Skip (test-crm_html.R:30:3): crm_html fails well ────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-crm_links.R:4:3): crm_links works ────────────────────────────────
  Reason: On CRAN
  
  ── Warning (test-crm_links.R:61:3): crm_links: elife special handling ──────────
  503: NA - (10.7554/elife.04371)
  
  ── FAILURE (test-crm_links.R:62:3): crm_links: elife special handling ──────────
  length(z) not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  
  ── ERROR (test-crm_links.R:63:3): crm_links: elife special handling ────────────
  Error: is.character(act$val) is not TRUE
  Backtrace:
      █
   1. └─testthat::expect_match(z$xml[[1]], "cdn.elifesciences.org") test-crm_links.R:63:2
   2.   └─base::stopifnot(is.character(act$val))
  
  ── Skip (test-crm_links.R:70:3): crm_links fails correctly ─────────────────────
  Reason: On CRAN
  
  ── Skip (test-crm_links.R:79:3): crm_links - email works ───────────────────────
  Reason: On CRAN
  
  ── Skip (test-crm_pdf.R:5:1): (code run outside of `test_that()`) ──────────────
  Reason: On CRAN
  
  ── Skip (test-crm_plain.R:14:3): crm_plain works with links input ──────────────
  Reason: On CRAN
  
  ── Skip (test-crm_plain.R:27:3): crm_plain works with links input, another eg ──
  Reason: On CRAN
  
  ── Skip (test-crm_plain.R:48:3): crm_plain fails well ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test-crm_text.R:5:1): (code run outside of `test_that()`) ─────────────
  Reason: On CRAN
  
  ── Skip (test-crm_xml.R:17:3): crm_xml works with links input ──────────────────
  Reason: On CRAN
  
  ── Skip (test-crm_xml.R:28:3): crm_xml works with character URL input ──────────
  Reason: On CRAN
  
  ── Skip (test-crm_xml.R:42:3): crm_xml fails well ──────────────────────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (15)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  Warning (test-crm_links.R:61:3): crm_links: elife special handling
  FAILURE (test-crm_links.R:62:3): crm_links: elife special handling
  ERROR (test-crm_links.R:63:3): crm_links: elife special handling
  
  [ FAIL 2 | WARN 1 | SKIP 15 | PASS 83 ]
  Error: Test failures
  Execution halted