Running ‘testthat.R’ [22s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RSQLite)
  > 
  > test_check("RSQLite")
  1. Failure: DBItest[RSQLite]: Connection: cannot_forget_disconnect -------------
  gc() showed 0 warnings
  
  
  2. Failure: forbidden operations throw errors (@test-dbConnect.R#58) -----------
  error$message does not match "readonly database".
  Actual value: "Expired, result set already closed"
  
  
  3. Failure: throws error if constraint violated (@test-dbWriteTable.R#12) ------
  error$message does not match "UNIQUE constraint failed".
  Actual value: "Cannot use named parameters for anonymous/numbered placeholders"
  
  
  4. Failure: throws error if constrainted violated (@test-dbWriteTable.R#36) ----
  error$message does not match "UNIQUE constraint failed".
  Actual value: "Table t1 exists in database, and both overwrite and append are FALSE"
  
  
  5. Failure: autoincrement partially populated with duplicate IDs throws an error (@test-dbWriteTableAutoincrement.R#117) 
  error$message does not match "UNIQUE constraint failed: tbl[.]id".
  Actual value: "Columns def not found"
  
  
  6. Failure: parameters with length != 1 (#89) (@test-error.R#15) ---------------
  error$message does not match "Parameter 2 does not have length 1".
  Actual value: "Columns def not found"
  
  
  7. Failure: parameters with length != 1 (#89) (@test-error.R#22) ---------------
  error$message does not match "Parameter 2 does not have length 1".
  Actual value: "Columns def not found"
  
  
  8. Failure: passing field.types with primary key information and non-unique values (@test-field-types.R#48) 
  error$message does not match "UNIQUE".
  Actual value: "Column name mismatch."
  
  
  9. Failure: read-only databases forbid writes (@test-readonly.R#7) -------------
  error$message does not match "attempt to write a readonly database".
  Actual value: "Column name mismatch."
  
  
  testthat results ================================================================
  OK: 4247 SKIPPED: 15 FAILED: 9
  1. Failure: DBItest[RSQLite]: Connection: cannot_forget_disconnect 
  2. Failure: forbidden operations throw errors (@test-dbConnect.R#58) 
  3. Failure: throws error if constraint violated (@test-dbWriteTable.R#12) 
  4. Failure: throws error if constrainted violated (@test-dbWriteTable.R#36) 
  5. Failure: autoincrement partially populated with duplicate IDs throws an error (@test-dbWriteTableAutoincrement.R#117) 
  6. Failure: parameters with length != 1 (#89) (@test-error.R#15) 
  7. Failure: parameters with length != 1 (#89) (@test-error.R#22) 
  8. Failure: passing field.types with primary key information and non-unique values (@test-field-types.R#48) 
  9. Failure: read-only databases forbid writes (@test-readonly.R#7) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted