Running ‘testthat.R’ [163s/216s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidycells)
  > 
  > 
  > test_check("tidycells")
  ── 1. Error: optional_package dependency test (@test-optional_package.R#22)  ───
  argument is of length zero
  Backtrace:
   1. tidycells::read_cells(dm$fn[dm$original == "xls"])
   2. tidycells:::read_cells.character(dm$fn[dm$original == "xls"])
   3. tidycells:::read_cells.read_cell_part(...)
  
  Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl,  : 
    RcallMethod: cannot determine object class
  Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl,  : 
    RcallMethod: cannot determine object class
  Support present for following type of files: csv, xls, xlsx, docx, pdf, html
  Note:
  ☰ LibreOffice may be required for doc files
  ☰ Support is enabled for content type (means it will work even if the extension is wrong)
  ☰ Support not present for following type of files: doc
  Details: 
  ┌──────────────────────────────────────────────┐
  │                                              │
  │     type        package    present support   │
  │   1 csv{utils}  utils        ✔      ✔        │
  │   2 csv         readr        ✔      ✔        │
  │   3 xls{readxl} readxl       ✔      ✔        │
  │   4 xls         xlsx         ✔      ✔        │
  │   5 xlsx        tidyxl       ✔      ✔        │
  │   6 doc         docxtractr   ✔      ✖        │
  │   7 docx        docxtractr   ✔      ✔        │
  │   8 pdf         tabulizer    ✔      ✔        │
  │   9 html        XML          ✔      ✔        │
  │                                              │
  └──────────────────────────────────────────────┘
  Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl,  : 
    RcallMethod: cannot determine object class
  Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl,  : 
    RcallMethod: cannot determine object class
  Support present for following type of files: csv, xls, xlsx, docx, pdf, html
  Note:
  ☰ LibreOffice may be required for doc files
  ☰ Support is enabled for content type (means it will work even if the extension is wrong)
  ☰ Support not present for following type of files: doc
  Details: 
  ┌──────────────────────────────────────────────┐
  │                                              │
  │     type        package    present support   │
  │   1 csv{utils}  utils        ✔      ✔        │
  │   2 csv         readr        ✔      ✔        │
  │   3 xls{readxl} readxl       ✔      ✔        │
  │   4 xls         xlsx         ✔      ✔        │
  │   5 xlsx        tidyxl       ✔      ✔        │
  │   6 doc         docxtractr   ✔      ✖        │
  │   7 docx        docxtractr   ✔      ✔        │
  │   8 pdf         tabulizer    ✔      ✔        │
  │   9 html        XML          ✔      ✔        │
  │                                              │
  └──────────────────────────────────────────────┘
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 176 | SKIPPED: 3 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: optional_package dependency test (@test-optional_package.R#22) 
  
  Error: testthat unit tests failed
  Execution halted