CRAN Package Check Results for Package omock

Last updated on 2026-05-14 16:52:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.2 19.58 286.49 306.07 OK
r-devel-linux-x86_64-debian-gcc 0.6.2 16.28 164.41 180.69 ERROR
r-devel-linux-x86_64-fedora-clang 0.6.2 35.00 438.75 473.75 OK
r-devel-linux-x86_64-fedora-gcc 0.6.2 34.00 432.96 466.96 OK
r-devel-windows-x86_64 0.6.2 25.00 255.00 280.00 OK
r-patched-linux-x86_64 0.6.2 22.04 266.10 288.14 OK
r-release-linux-x86_64 0.6.2 19.52 267.18 286.70 OK
r-release-macos-arm64 0.6.2 7.00 104.00 111.00 OK
r-release-macos-x86_64 0.6.2 18.00 353.00 371.00 OK
r-release-windows-x86_64 0.6.2 23.00 255.00 278.00 OK
r-oldrel-macos-arm64 0.6.2 OK
r-oldrel-macos-x86_64 0.6.2 18.00 304.00 322.00 OK
r-oldrel-windows-x86_64 0.6.2 30.00 350.00 380.00 OK

Check Details

Version: 0.6.2
Check: tests
Result: 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.2
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 ‘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-debian-gcc