- using R Under development (unstable) (2026-05-12 r90049)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22]
GNU Fortran (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22]
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-05-13 17:23:07 UTC
- checking for file ‘omock/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘omock’ version ‘0.6.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘duckdb’
- 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 ‘omock’ can be installed ... OK
See the install log for details.
- 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [9s/12s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [12s/15s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [86s/100s] ERROR
Running ‘testthat.R’ [86s/100s]
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(omock)
>
> test_check("omock")
! Input tables only contain the observation_period table, hence only the person table will be updated
! Input tables only contain the observation_period table, hence only the person table will be updated
i Attempting download with timeout = 120 seconds.
i Reading GiBleed tables.
i Creating '/tmp/RtmpFcIGqr/DATASETS'.
i Attempting download with timeout = 120 seconds.
i Deleting prior version of GiBleed.
i Attempting download with timeout = 120 seconds.
i Attempting download with timeout = 120 seconds.
i Loading bundled GiBleed tables from package data.
i Adding drug_strength table.
i Creating local <cdm_reference> object.
i Loading bundled GiBleed tables from package data.
i Adding drug_strength table.
i Creating local <cdm_reference> object.
i Loading bundled GiBleed tables from package data.
i Adding drug_strength table.
i Creating local <cdm_reference> object.
i Inserting <cdm_reference> into duckdb.
Saving _problems/test-mockDatasets-37.R
i Loading bundled GiBleed tables from package data.
i Adding drug_strength table.
i Creating local <cdm_reference> object.
i Inserting <cdm_reference> into duckdb.
Saving _problems/test-mockDatasets-39.R
i Attempting download with timeout = 120 seconds.
i Reading GiBleed tables.
Joining with `by = join_by(visit_occurrence_id)`
i Reading GiBleed tables.
i Reading GiBleed tables.
[ FAIL 2 | WARN 8 | SKIP 1 | PASS 154 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-changeCdmVersion.R:2:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-mockDatasets.R:37:3'): mock datasets cdm creation ────────────
Expected `cdm <- mockCdmFromDataset(datasetName = dbName, source = "duckdb")` not to throw any errors.
Actually got a <rlib_error_package_not_found> with message:
The package "duckdb" is required.
── Failure ('test-mockDatasets.R:39:3'): mock datasets cdm creation ────────────
Expected `cdm <- mockCdmFromDataset(datasetName = dbName, source = "duckdb")` not to throw any errors.
Actually got a <rlib_error_package_not_found> with message:
The package "duckdb" is required.
[ FAIL 2 | WARN 8 | SKIP 1 | PASS 154 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [23s/29s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘mock_from_tables.Rmd’ using rmarkdown
--- finished re-building ‘mock_from_tables.Rmd’
--- re-building ‘synthetic_clinical_tables.Rmd’ using rmarkdown
--- finished re-building ‘synthetic_clinical_tables.Rmd’
--- re-building ‘synthetic_cohorts.Rmd’ using rmarkdown
--- finished re-building ‘synthetic_cohorts.Rmd’
--- re-building ‘synthetic_datasets.Rmd’ using rmarkdown
Quitting from synthetic_datasets.Rmd:127-130 [unnamed-chunk-11]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlib_error_package_not_found>
Error in `mockCdmFromDataset()`:
! The package "duckdb" is required.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'synthetic_datasets.Rmd' failed with diagnostics:
The package "duckdb" is required.
--- failed re-building ‘synthetic_datasets.Rmd’
--- re-building ‘synthetic_vocabulary.Rmd’ using rmarkdown
--- finished re-building ‘synthetic_vocabulary.Rmd’
SUMMARY: processing the following file failed:
‘synthetic_datasets.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [3s/4s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs