Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RPostgres)
  > 
  > test_check("RPostgres")
  -- 1. Error: special characters work (@test-dbGetQuery.R#8)  -------------------
  Failed to fetch row: ERROR:  could not extend file "base/16393/11757": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. DBI::dbExecute(con, "CREATE TEMPORARY TABLE test1 (x TEXT)")
    2. DBI::dbExecute(con, "CREATE TEMPORARY TABLE test1 (x TEXT)")
    4. DBI::dbSendStatement(conn, statement, ...)
    6. RPostgres::dbSendQuery(conn, statement, ...)
    7. RPostgres:::.local(conn, statement, ...)
   11. RPostgres:::result_create(conn@ptr, statement)
  
  -- 2. Error: uuid format is recognized (@test-dbGetQuery.R#41)  ----------------
  Failed to fetch row: ERROR:  could not extend file "base/16393/11757": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. DBI::dbExecute(con, "CREATE TEMPORARY TABLE fuutab\n    (\n    fuu UUID,\n    name VARCHAR(255) NOT NULL\n    );")
    2. DBI::dbExecute(con, "CREATE TEMPORARY TABLE fuutab\n    (\n    fuu UUID,\n    name VARCHAR(255) NOT NULL\n    );")
    4. DBI::dbSendStatement(conn, statement, ...)
    6. RPostgres::dbSendQuery(conn, statement, ...)
    7. RPostgres:::.local(conn, statement, ...)
   11. RPostgres:::result_create(conn@ptr, statement)
  
  -- 3. Error: writing to a database table is successful (@test-dbWriteTable.R#8) 
  Failed to fetch row: ERROR:  could not extend file "base/16393/11757": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(con, "beaver2", beaver2, temporary = TRUE)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 4. Error: writing to a database table is successful (@test-dbWriteTable.R#8) 
  Failed to fetch row: ERROR:  table "beaver2" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 5. Error: writing to a database table with character features is successful (
  Failed to fetch row: ERROR:  could not extend file "base/16393/11757": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(con, "iris", iris2, temporary = TRUE)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 6. Error: writing to a database table with character features is successful (
  Failed to fetch row: ERROR:  table "iris" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 7. Error: append to a database table is successful (@test-dbWriteTable.R#25) 
  Failed to fetch row: ERROR:  could not extend file "base/16393/11757": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(con, "beaver2", beaver2, temporary = TRUE)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 8. Error: append to a database table is successful (@test-dbWriteTable.R#25) 
  Failed to fetch row: ERROR:  table "beaver2" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 9. Error: append to a database table with character features is successful (@
  Failed to fetch row: ERROR:  could not extend file "base/16393/11745": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(con, "iris", iris2, temporary = TRUE)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 10. Error: append to a database table with character features is successful (
  Failed to fetch row: ERROR:  table "iris" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 11. Error: New table creation respects the field.types argument (@test-dbWrit
  Failed to fetch row: ERROR:  could not extend file "base/16393/11745": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(...)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 12. Error: New table creation respects the field.types argument (@test-dbWrit
  Failed to fetch row: ERROR:  table "iris" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 13. Error: Appending fails when using the field.types argument (@test-dbWrite
  Failed to fetch row: ERROR:  could not extend file "base/16393/11745": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(...)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 14. Error: Appending fails when using the field.types argument (@test-dbWrite
  Failed to fetch row: ERROR:  table "iris" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 15. Error: dbWriteTable(copy = F) (@test-dbWriteTable.R#94)  ----------------
  Failed to fetch row: ERROR:  could not extend file "base/16393/11745": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(con, name = "xy", value = value, copy = F)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 16. Error: dbWriteTable(copy = F) (@test-dbWriteTable.R#94)  ----------------
  Failed to fetch row: ERROR:  table "xy" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 17. Error: dbWriteTable(append = T, copy = F) (@test-dbWriteTable.R#101)  ---
  Failed to fetch row: ERROR:  could not extend file "base/16393/11745": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. DBI::dbExecute(con, "CREATE TEMPORARY TABLE xy ( x numeric NOT NULL, y numeric NOT NULL);")
    6. DBI::dbSendStatement(conn, statement, ...)
    8. RPostgres::dbSendQuery(conn, statement, ...)
    9. RPostgres:::.local(conn, statement, ...)
   13. RPostgres:::result_create(conn@ptr, statement)
  
  -- 18. Error: dbWriteTable(append = T, copy = F) (@test-dbWriteTable.R#101)  ---
  Failed to fetch row: ERROR:  table "xy" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 19. Error: dbWriteTable(append = T, copy = T) (@test-dbWriteTable.R#109)  ---
  Failed to fetch row: ERROR:  could not extend file "base/16393/11745": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. DBI::dbExecute(con, "CREATE TEMPORARY TABLE xy ( x numeric NOT NULL, y numeric NOT NULL);")
    6. DBI::dbSendStatement(conn, statement, ...)
    8. RPostgres::dbSendQuery(conn, statement, ...)
    9. RPostgres:::.local(conn, statement, ...)
   13. RPostgres:::result_create(conn@ptr, statement)
  
  -- 20. Error: dbWriteTable(append = T, copy = T) (@test-dbWriteTable.R#109)  ---
  Failed to fetch row: ERROR:  table "xy" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  -- 21. Error: dbWriteTable(append = F, copy = T, field.types=NUMERIC) (@test-dbW
  Failed to fetch row: ERROR:  could not extend file "base/16393/11745": No space left on device
  HINT:  Check free disk space.
  Backtrace:
    1. RPostgres:::with_table(...)
    4. RPostgres::dbWriteTable(...)
    5. RPostgres:::.local(conn, name, value, ...)
    7. DBI::dbCreateTable(...)
    9. DBI::dbExecute(conn, query)
   11. DBI::dbSendStatement(conn, statement, ...)
   13. RPostgres::dbSendQuery(conn, statement, ...)
   14. RPostgres:::.local(conn, statement, ...)
   18. RPostgres:::result_create(conn@ptr, statement)
  
  -- 22. Error: dbWriteTable(append = F, copy = T, field.types=NUMERIC) (@test-dbW
  Failed to fetch row: ERROR:  table "xy" does not exist
  Backtrace:
    1. RPostgres:::with_table(...)
    3. DBI::dbRemoveTable(con, tbl)
    4. RPostgres:::.local(conn, name, ...)
    6. DBI::dbExecute(conn, paste0("DROP TABLE ", extra, name))
    8. DBI::dbSendStatement(conn, statement, ...)
   10. RPostgres::dbSendQuery(conn, statement, ...)
   11. RPostgres:::.local(conn, statement, ...)
   15. RPostgres:::result_create(conn@ptr, statement)
  
  == testthat results  ===========================================================
  [ OK: 39 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 22 ]
  1. Error: special characters work (@test-dbGetQuery.R#8) 
  2. Error: uuid format is recognized (@test-dbGetQuery.R#41) 
  3. Error: writing to a database table is successful (@test-dbWriteTable.R#8) 
  4. Error: writing to a database table is successful (@test-dbWriteTable.R#8) 
  5. Error: writing to a database table with character features is successful (@test-dbWriteTable.R#15) 
  6. Error: writing to a database table with character features is successful (@test-dbWriteTable.R#15) 
  7. Error: append to a database table is successful (@test-dbWriteTable.R#25) 
  8. Error: append to a database table is successful (@test-dbWriteTable.R#25) 
  9. Error: append to a database table with character features is successful (@test-dbWriteTable.R#33) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted