R Under development (unstable) (2025-02-02 r87676 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(dbi.table) > > test_check("dbi.table") [ FAIL 10 | WARN 0 | SKIP 0 | PASS 24 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-attach.R:7:5'): dbi.attach works ───────────────────────────── Expected `dbi.attach(d, pos = 2L)` to run without any errors. i Actually got a with text: the "RSQLite" package must be installed to use 'chinook.sqlite' ── Failure ('test-attach.R:9:5'): dbi.attach works ───────────────────────────── e[["../catalog"]] is not an S3 object ── Failure ('test-attach.R:11:5'): dbi.attach works ──────────────────────────── all(unlist(eapply(e, is.dbi.table))) is not TRUE `actual`: FALSE `expected`: TRUE ── Error ('test-attach.R:12:5'): dbi.attach works ────────────────────────────── Error in `eval(quote(Album[, `:=`(z, 42)]), envir = e)`: object 'Album' not found Backtrace: ▆ 1. ├─testthat::expect_warning(eval(quote(Album[, `:=`(z, 42)]), envir = e)) at test-attach.R:12:5 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. └─base::eval(quote(Album[, `:=`(z, 42)]), envir = e) 8. └─base::eval(quote(Album[, `:=`(z, 42)]), envir = e) ── Error ('test-data.table-set-functions.R:2:3'): set* functions work ────────── Error: the "RSQLite" package must be installed to use 'chinook.sqlite' Backtrace: ▆ 1. └─dbi.table::chinook.sqlite() at test-data.table-set-functions.R:2:3 ── Error ('test-data.table_examples.R:3:3'): dbi.table works on data.table help examples ── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite' Backtrace: ▆ 1. ├─DBI::dbConnect(RSQLite::SQLite(), ":memory:") at test-data.table_examples.R:3:3 2. ├─base::loadNamespace(x) 3. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 4. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 5. │ │ └─base (local) doWithOneRestart(return(expr), restart) 6. │ └─base::stop(cond) 7. └─base (local) ``(``) ── Error ('test-dbi.table.R:1:1'): (code run outside of `test_that()`) ───────── Error: the "RSQLite" package must be installed to use 'chinook.sqlite' Backtrace: ▆ 1. └─dbi.table::chinook.sqlite() at test-dbi.table.R:1:1 ── Error ('test-merge.R:1:1'): (code run outside of `test_that()`) ───────────── Error: the "RSQLite" package must be installed to use 'chinook.sqlite' Backtrace: ▆ 1. └─dbi.table::chinook.sqlite() at test-merge.R:1:1 ── Error ('test-relational.R:5:1'): (code run outside of `test_that()`) ──────── Error: the "RSQLite" package must be installed to use 'chinook.sqlite' Backtrace: ▆ 1. └─dbi.table::dbi.attach(chinook.sqlite) at test-relational.R:5:1 2. └─dbi.table::dbi.catalog(what, schemas = schema) 3. └─dbi.table:::init_connection(conn) 4. └─dbi.table (local) conn() ── Error ('test-sql.join.R:1:1'): (code run outside of `test_that()`) ────────── Error: the "RSQLite" package must be installed to use 'chinook.sqlite' Backtrace: ▆ 1. └─dbi.table::chinook.sqlite() at test-sql.join.R:1:1 [ FAIL 10 | WARN 0 | SKIP 0 | PASS 24 ] Error: Test failures Execution halted