R Under development (unstable) (2023-09-23 r85215 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(SCDB) Attaching package: 'SCDB' The following object is masked from 'package:base': nrow > > # Run the test using the default system connection > test_check("SCDB") [conflicted] Will prefer SCDB::id over any other package. No useful drivers (other than SQLite) were found! ##### Following drivers will be tested: RSQLite::SQLite (SQLite) Following drivers were not found and will NOT be tested: RPostgres::Postgres (PostgreSQL) ##### [ FAIL 1 | WARN 0 | SKIP 4 | PASS 261 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • empty test (4): 'test-examples.R:1:1', 'test-get_table.R:74:1', 'test-non_ascii.R:1:1', 'test-return.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-connection.R:17:3'): get_connection warns about unsupported backend ── Error: unable to find an inherited method for function 'dbCanConnect' for signature 'drv = "character"' Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-connection.R:17:2 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─testthat::expect_error(...) 8. │ └─testthat:::expect_condition_matching(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. └─SCDB::get_connection(drv = character(0)) 14. ├─base::tryCatch(...) 15. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 16. ├─base::do.call(DBI::dbCanConnect, args = args) 17. └─DBI (local) ``(...) 18. └─methods (local) ``(``, ``, ``) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 261 ] Error: Test failures Execution halted