Running 'test-all.R' [11s/17s]
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)
  1: expect_true(export(iris, "iris.xlsx") %in% dir()) at testthat/test_format_xls.R:5
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: export(iris, "iris.xlsx") %in% dir()
  5: export(iris, "iris.xlsx")
  6: .export(file = file, x = x, ...)
  7: .export.rio_xlsx(file = file, x = x, ...)
  8: openxlsx::write.xlsx(x = x, file = file, ...)
  9: saveWorkbook(wb = wb, file = file, overwrite = overwrite)
  10: wb$saveWorkbook()
  11: write_file(head = "<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">", 
         body = "<Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"xl/workbook.xml\"/>\n                    <Relationship Id=\"rId2\" Type=\"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\" Target=\"docProps/core.xml\"/>\n                    <Relationship Id=\"rId3\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties\" Target=\"docProps/app.xml\"/>", 
         tail = "</Relationships>", fl = file.path(relsDir, ".rels"))
  
  -- 2. Error: Import from Excel (.xlsx) (@test_format_xls.R#10)  ----------------
  No such file
  1: expect_true(is.data.frame(import("iris.xlsx", readxl = FALSE))) at testthat/test_format_xls.R:10
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: is.data.frame(import("iris.xlsx", readxl = FALSE))
  5: import("iris.xlsx", readxl = FALSE)
  6: stop("No such file")
  
  -- 3. Error: Data identical (Excel formats) (@test_identical.R#34)  ------------
  WEIRD RETURN VALUE: (nil)
  1: expect_equivalent(import(export(mtcars, "mtcars.xlsx")), mtcars) at testthat/test_identical.R:34
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: import(export(mtcars, "mtcars.xlsx"))
  5: grepl("^http.*://", file)
  6: export(mtcars, "mtcars.xlsx")
  7: .export(file = file, x = x, ...)
  8: .export.rio_xlsx(file = file, x = x, ...)
  9: openxlsx::write.xlsx(x = x, file = file, ...)
  10: saveWorkbook(wb = wb, file = file, overwrite = overwrite)
  11: wb$saveWorkbook()
  12: write_file(head = "<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">", 
         body = "<Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"xl/workbook.xml\"/>\n                    <Relationship Id=\"rId2\" Type=\"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\" Target=\"docProps/core.xml\"/>\n                    <Relationship Id=\"rId3\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties\" Target=\"docProps/app.xml\"/>", 
         tail = "</Relationships>", fl = file.path(relsDir, ".rels"))
  
  -- 4. Error: Object names are preserved by import_list() (@test_import_list.R#42
  WEIRD RETURN VALUE: (nil)
  1: export(list(mtcars1 = mtcars[1:10, ], mtcars2 = mtcars[11:20, ], mtcars3 = mtcars[21:32, 
         ]), "mtcars.xlsx") at testthat/test_import_list.R:42
  2: .export(file = file, x = x, ...)
  3: .export.rio_xlsx(file = file, x = x, ...)
  4: openxlsx::write.xlsx(x = x, file = file, ...)
  5: saveWorkbook(wb = wb, file = file, overwrite = overwrite)
  6: wb$saveWorkbook()
  7: write_file(head = "<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">", 
         body = "<Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"xl/workbook.xml\"/>\n                    <Relationship Id=\"rId2\" Type=\"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\" Target=\"docProps/core.xml\"/>\n                    <Relationship Id=\"rId3\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties\" Target=\"docProps/app.xml\"/>", 
         tail = "</Relationships>", fl = file.path(relsDir, ".rels"))
  
  == DONE ========================================================================
  Error: Test failures
  Execution halted