Running ‘testthat.R’ [23s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(taxonomizr)
  > library(data.table)
  
  Attaching package: 'data.table'
  
  The following object is masked from 'package:base':
  
      %notin%
  
  > library(RSQLite)
  > test_check("taxonomizr")
  Saving _problems/test_taxa-312.R
  
  Download status: 0 done; 1 in progress (0 b/s). Total size: 359 b (100%)...
  Download status: 1 done; 0 in progress. Total size: 359 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 359 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 359 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 359 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 359 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 4 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 0 b ... done!             
  
  Download status: 1 done; 0 in progress. Total size: 0 b ... done!             
  
  Download status: 1 done; 0 in progress. Total size: 359 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 15 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 15 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 15 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 15 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 15 b (100%)... done!             
  
  Download status: 1 done; 0 in progress. Total size: 0 b ... done!             
  
  Download status: 1 done; 0 in progress. Total size: 986 b (100%)... done!             
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 378 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_taxa.R:312:3'): Test getTaxonomy and getRawTaxonomy and getDescendants ──
  `getRawTaxonomy(9606, tmp2)` threw an error with unexpected message.
  Expected match: "cycle"
  Actual message: "Could not connect to database:\nunable to open database file"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(getRawTaxonomy(9606, tmp2), "cycle") at test_taxa.R:312:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─taxonomizr::getRawTaxonomy(9606, tmp2)
    7.   └─taxonomizr:::getParentNodes(currentIds[stillWorking], sqlFile)
    8.     ├─RSQLite::dbConnect(RSQLite::SQLite(), dbname = tmp)
    9.     └─RSQLite::dbConnect(RSQLite::SQLite(), dbname = tmp)
   10.       └─RSQLite (local) .local(drv, ...)
   11.         ├─methods::new(...)
   12.         │ ├─methods::initialize(value, ...)
   13.         │ └─methods::initialize(value, ...)
   14.         └─RSQLite:::connection_connect(...)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 378 ]
  Error:
  ! Test failures.
  Execution halted