CRAN Package Check Results for Package omock

Last updated on 2026-09-03 20:57:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.0 22.70 323.78 346.48 OK
r-devel-linux-x86_64-debian-gcc 0.7.0 16.23 215.59 231.82 OK
r-devel-linux-x86_64-fedora-clang 0.7.0 19.00 194.94 213.94 ERROR
r-devel-linux-x86_64-fedora-gcc 0.7.0 17.00 211.83 228.83 OK
r-devel-windows-x86_64 0.7.0 26.00 295.00 321.00 OK
r-patched-linux-x86_64 0.7.0 19.97 304.42 324.39 OK
r-release-linux-x86_64 0.7.0 19.91 301.99 321.90 OK
r-release-macos-arm64 0.7.0 8.00 109.00 117.00 OK
r-release-macos-x86_64 0.7.0 19.00 396.00 415.00 OK
r-release-windows-x86_64 0.7.0 23.00 287.00 310.00 OK
r-oldrel-macos-arm64 0.7.0 7.00 115.00 122.00 OK
r-oldrel-macos-x86_64 0.7.0 18.00 365.00 383.00 OK
r-oldrel-windows-x86_64 0.7.0 32.00 411.00 443.00 OK

Check Details

Version: 0.7.0
Check: tests
Result: ERROR Running ‘testthat.R’ [111s/162s] 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 i Attempting download with timeout = 120 seconds. i Reading GiBleed tables. i Creating '/tmp/RtmpOYDpWI/working_dir/RtmpoMk2B3/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 Adapting cdmVersion from 5.3 to 5.4. 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-50.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-52.R i Loading bundled GiBleed tables from package data. i Adding drug_strength table. i Creating local <cdm_reference> object. i Adapting cdmVersion from 5.3 to 5.4. 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 0 | SKIP 2 | PASS 236 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-changeCdmVersion.R:2:3', 'test-mockDatasets.R:81:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-mockDatasets.R:50: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:52: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 0 | SKIP 2 | PASS 236 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.7.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘mock_from_tables.Rmd’ using rmarkdown --- finished re-building ‘mock_from_tables.Rmd’ --- re-building ‘subset_concepts.Rmd’ using rmarkdown --- finished re-building ‘subset_concepts.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 Flavor: r-devel-linux-x86_64-fedora-clang