* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/diseasystore.Rcheck’ * using R Under development (unstable) (2026-03-14 r89622) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * current time: 2026-03-15 00:15:14 UTC * checking for file ‘diseasystore/DESCRIPTION’ ... OK * this is package ‘diseasystore’ version ‘0.3.2’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘diseasystore’ can be installed ... [13s/13s] OK * checking package directory ... 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 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 ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking examples with --run-donttest ... [18s/16s] ERROR Running examples in ‘diseasystore-Ex.R’ failed The error most likely occurred in: > ### Name: test_diseasystore > ### Title: Test a given diseasy store > ### Aliases: test_diseasystore > > ### ** Examples > > ## Don't show: > if (requireNamespace("duckdb", quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + ## No test: + # Generator for connections + conns <- \(skip_backends) list(DBI::dbConnect(duckdb::duckdb())) + + # Call the testing suite + test_diseasystore( + diseasystore_generator = DiseasystoreSimulist, + conn_generator = conns, + target_schema = "test", + test_start_date = as.Date("2020-02-20"), + skip_backends = "SQLiteConnection" + ) + ## End(No test) + ## Don't show: + }) # examplesIf > conns <- function(skip_backends) list(DBI::dbConnect(duckdb::duckdb())) > test_diseasystore(diseasystore_generator = DiseasystoreSimulist, conn_generator = conns, + target_schema = "test", test_start_date = as.Date("2020-02-20"), skip_backends = "SQLiteConnection") ── Skip: DiseasystoreSimulist initialises correctly ──────────────────────────── Reason: "SQLiteConnection" %in% skip_backends is TRUE ── Skip: DiseasystoreSimulist can initialise with remote source_conn ─────────── Reason: "SQLiteConnection" %in% skip_backends is TRUE ── Skip: DiseasystoreSimulist can initialise with default source_conn ────────── Reason: "SQLiteConnection" %in% skip_backends is TRUE ── Skip: Skipped test connection are also disallowed in DiseasystoreSimulist constructor ── Reason: empty test ── Error: DiseasystoreSimulist can retrieve features from a fresh state ──────── Error in `map2(.x, .y, .f, ..., .progress = .progress)`: ℹ In index: 2. Caused by error: ! Expected `purrr::pluck(validity_period_data_types, "valid_from")` to be identical to `DBI::dbDataType(dbObj = conn, obj = as.Date(0))`. Differences: 1/1 mismatches x[1]: "TIMESTAMP" y[1]: "DATE" Feature `age` has a non-Date `valid_from` column. Error: ! Test failed with 1 failure and 8 successes. Backtrace: ▆ 1. ├─base::withAutoprint(...) 2. │ └─base::source(...) 3. │ ├─base::withVisible(eval(ei, envir)) 4. │ └─base::eval(ei, envir) 5. │ └─base::eval(ei, envir) 6. └─diseasystore::test_diseasystore(...) 7. └─testthat::test_that(...) 8. └─testthat:::test_code(code, parent.frame()) 9. ├─withr (local) ``() 10. └─reporter$end_test(context = reporter$.context, test = test) 11. └─cli::cli_abort(...) 12. └─rlang::abort(...) Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ [276s/276s] [276s/277s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [87s/84s] OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/diseasystore.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 7:38.23, 422.86 + 37.37