Running ‘test-all.R’ [1s/4s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("crminer")
  Loading required package: crminer
  1. Failure: crm_links works (@test-crm_links.R#11) -----------------------------
  `l1` inherits from `list` not `tdmurl`.
  
  
  2. Failure: crm_links works (@test-crm_links.R#12) -----------------------------
  attr(l1, "type") not equal to "pdf".
  target is NULL, current is character
  
  
  3. Failure: crm_links works (@test-crm_links.R#13) -----------------------------
  attr(l1, "member") not equal to "4443".
  target is NULL, current is character
  
  
  4. Failure: crm_links works (@test-crm_links.R#14) -----------------------------
  Names of `l1` ('') don't match 'pdf'
  
  
  5. Failure: crm_links works (@test-crm_links.R#16) -----------------------------
  `l2` inherits from `list` not `tdmurl`.
  
  
  6. Failure: crm_links works (@test-crm_links.R#17) -----------------------------
  attr(l2, "type") not equal to "pdf".
  target is NULL, current is character
  
  
  7. Failure: crm_links works (@test-crm_links.R#18) -----------------------------
  attr(l2, "member") not equal to "7822".
  target is NULL, current is character
  
  
  8. Failure: crm_links works (@test-crm_links.R#19) -----------------------------
  Names of `l2` ('') don't match 'pdf'
  
  
  9. Failure: crm_links works (@test-crm_links.R#21) -----------------------------
  `l3` inherits from `list` not `tdmurl`.
  
  
  10. Failure: crm_links works (@test-crm_links.R#22) ----------------------------
  attr(l3, "type") not equal to "xml".
  target is NULL, current is character
  
  
  11. Failure: crm_links works (@test-crm_links.R#23) ----------------------------
  attr(l3, "member") not equal to "78".
  target is NULL, current is character
  
  
  12. Failure: crm_links works (@test-crm_links.R#24) ----------------------------
  Names of `l3` ('') don't match 'xml'
  
  
  13. Failure: crm_links works (@test-crm_links.R#26) ----------------------------
  `l4` inherits from `list` not `tdmurl`.
  
  
  14. Failure: crm_links works (@test-crm_links.R#27) ----------------------------
  attr(l4, "type") not equal to "html".
  target is NULL, current is character
  
  
  15. Failure: crm_links works (@test-crm_links.R#28) ----------------------------
  attr(l4, "member") not equal to "4443".
  target is NULL, current is character
  
  
  16. Failure: crm_links works (@test-crm_links.R#29) ----------------------------
  Names of `l4` ('') don't match 'html'
  
  
  17. Failure: crm_links works (@test-crm_links.R#41) ----------------------------
  `l5` not identical to `l6`.
  names for target but not for current
  Length mismatch: comparison on first 0 components
  
  
  18. Error: crm_text works: pdf (@test-crm_text.R#7) ----------------------------
  no links for type pdf
  1: suppressMessages(crm_text(links, "pdf", read = FALSE, verbose = FALSE)) at testthat/test-crm_text.R:7
  2: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  3: crm_text(links, "pdf", read = FALSE, verbose = FALSE)
  4: crm_text.list(links, "pdf", read = FALSE, verbose = FALSE)
  5: stop("no links for type ", type)
  
  testthat results ================================================================
  OK: 76 SKIPPED: 17 FAILED: 18
  1. Failure: crm_links works (@test-crm_links.R#11) 
  2. Failure: crm_links works (@test-crm_links.R#12) 
  3. Failure: crm_links works (@test-crm_links.R#13) 
  4. Failure: crm_links works (@test-crm_links.R#14) 
  5. Failure: crm_links works (@test-crm_links.R#16) 
  6. Failure: crm_links works (@test-crm_links.R#17) 
  7. Failure: crm_links works (@test-crm_links.R#18) 
  8. Failure: crm_links works (@test-crm_links.R#19) 
  9. Failure: crm_links works (@test-crm_links.R#21) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted