Running ‘test-all.R’ [11s/20s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > library("rio")
  > test_check("rio", reporter = "summary")
  characterize()/factorize(): ....
  Compressed files: .....  adding: iris.csv (deflated 78%)
  .....
  Convert: ......
  Errors: ...........   variable   class width columns
  X1       X1 numeric     2     3-2
  ..
  Extensions: ...
  R dump imports/exports: ..
  Weka (.arff) imports/exports: ..
  CSV imports/exports: ......
  CSV (.csv2) imports/exports: ..........
  .csv.gz imports/exports: ..
  CSVY imports/exports: ..
  XBASE (.dbf) imports/exports: ..
  DIF imports/exports: .
  Stata (.dta) imports/exports: ......
  EViews import: WW.
  External package Import/Export support: ...............
  feather imports/exports: ..
  Fortran imports/exports: .
  fst imports/exports: ..
  FWF imports/exports: .............
  HTML imports/exports: ....
  JSON imports/exports: ..
  rmatio imports/exports: ...
  Minitab (.mtp) imports/exports: 
  ODS imports/exports: ...  adding: META-INF/ (stored 0%)
    adding: META-INF/manifest.xml (deflated 61%)
    adding: content.xml (deflated 98%)
    adding: meta.xml (deflated 51%)
    adding: mimetype (deflated 4%)
    adding: styles.xml (deflated 70%)
  .
  PSV imports/exports: ..
  Rdata imports/exports: .........
  Rds imports/exports: .....
  Epiinfo (.rec) imports/exports: 
  SAS imports/exports: ...
  SPSS (.sav) imports/exports: ...
  Systat (.syd) imports/exports: .
  TSV imports/exports: ..
  Excel (xlsx) imports/exports: 12
  XML imports/exports: ..
  YAML imports/exports: ..
  Gather attrs: ..............
  Get File Extension: ..............
  Check Data Identical: ..........3.......
  Test import_list(): .............4
  Install uninstalled formats: S...
  Matrix imports/exports: ...
  Remote Files: .......
  Set object class: .............
  
  ══ Skipped ═════════════════════════════════════════════════════════════════════
  1. uninstalled_formats() (@test_install_formats.R#4) - Reason: On CRAN
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  1. Import from EViews (@test_format_eviews.R#5) - Skipping boilerplate variable
  
  
  2. Import from EViews (@test_format_eviews.R#5) - Skipping boilerplate variable
  
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Error: Export to Excel (.xlsx) (@test_format_xls.R#5)  ───────────────────
  WEIRD RETURN VALUE: (nil)
  Backtrace:
    1. testthat::expect_true(export(iris, "iris.xlsx") %in% dir()) test_format_xls.R:5:4
    5. rio::export(iris, "iris.xlsx")
    7. rio:::.export.rio_xlsx(file = file, x = x, ...)
    8. openxlsx::write.xlsx(x = x, file = file, ...)
    9. openxlsx::saveWorkbook(wb = wb, file = file, overwrite = overwrite)
   10. wb$saveWorkbook()
   11. openxlsx:::write_file(...)
  
  ── 2. Error: Import from Excel (.xlsx) (@test_format_xls.R#10)  ────────────────
  No such file
  Backtrace:
   1. testthat::expect_true(is.data.frame(import("iris.xlsx", readxl = FALSE))) test_format_xls.R:10:4
   5. rio::import("iris.xlsx", readxl = FALSE)
  
  ── 3. Error: Data identical (Excel formats) (@test_identical.R#34)  ────────────
  WEIRD RETURN VALUE: (nil)
  Backtrace:
    1. testthat::expect_equivalent(...) test_identical.R:34:4
    6. rio::export(mtcars, "mtcars.xlsx")
    8. rio:::.export.rio_xlsx(file = file, x = x, ...)
    9. openxlsx::write.xlsx(x = x, file = file, ...)
   10. openxlsx::saveWorkbook(wb = wb, file = file, overwrite = overwrite)
   11. wb$saveWorkbook()
   12. openxlsx:::write_file(...)
  
  ── 4. Error: Object names are preserved by import_list() (@test_import_list.R#42
  WEIRD RETURN VALUE: (nil)
  Backtrace:
   1. rio::export(...) test_import_list.R:42:4
   3. rio:::.export.rio_xlsx(file = file, x = x, ...)
   4. openxlsx::write.xlsx(x = x, file = file, ...)
   5. openxlsx::saveWorkbook(wb = wb, file = file, overwrite = overwrite)
   6. wb$saveWorkbook()
   7. openxlsx:::write_file(...)
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Error: Test failures
  Execution halted