* using log directory 'd:/RCompile/CRANincoming/R-devel/dbi.table.Rcheck' * using R Under development (unstable) (2025-02-02 r87676 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'dbi.table/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'dbi.table' version '1.0.3' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [11s] OK * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: 'RSQLite' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'dbi.table' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [11s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [11s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > # 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [12s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR