CRAN Package Check Results for Package omock

Last updated on 2025-11-01 21:49:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 6.54 268.60 275.14 OK
r-devel-linux-x86_64-debian-gcc 0.6.0 4.37 200.58 204.95 OK
r-devel-linux-x86_64-fedora-clang 0.6.0 33.00 487.66 520.66 OK
r-devel-linux-x86_64-fedora-gcc 0.5.0 49.00 438.02 487.02 OK
r-devel-windows-x86_64 0.5.0 8.00 229.00 237.00 OK
r-patched-linux-x86_64 0.5.0 6.13 253.17 259.30 OK
r-release-linux-x86_64 0.5.0 6.53 252.21 258.74 OK
r-release-macos-arm64 0.6.0 3.00 128.00 131.00 OK
r-release-macos-x86_64 0.6.0 3.00 149.00 152.00 OK
r-release-windows-x86_64 0.6.0 8.00 205.00 213.00 ERROR
r-oldrel-macos-arm64 0.6.0 3.00 130.00 133.00 OK
r-oldrel-macos-x86_64 0.6.0 12.00 ERROR
r-oldrel-windows-x86_64 0.6.0 6.00 355.00 361.00 OK

Check Details

Version: 0.6.0
Check: tests
Result: ERROR Running 'testthat.R' [107s] 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 trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Content type 'application/zip' length 6754786 bytes (6.4 MB) ================================================== downloaded 6.4 MB i Reading GiBleed tables. i Creating 'D:\temp\2025_11_01_00_52_33_4216\RtmpkjoHRf/DATASETS'. trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Content type 'application/zip' length 6754786 bytes (6.4 MB) ================================================== downloaded 6.4 MB i Deleting prior version of GiBleed. trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Content type 'application/zip' length 6754786 bytes (6.4 MB) ================================================== downloaded 6.4 MB trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Content type 'application/zip' length 6754786 bytes (6.4 MB) ================================================== downloaded 6.4 MB i Reading GiBleed tables. i Adding drug_strength table. i Creating local <cdm_reference> object. i Reading GiBleed tables. i Adding drug_strength table. i Creating local <cdm_reference> object. i Reading GiBleed tables. i Adding drug_strength table. i Creating local <cdm_reference> object. i Inserting <cdm_reference> into duckdb. i Reading GiBleed tables. i Adding drug_strength table. i Creating local <cdm_reference> object. i Inserting <cdm_reference> into duckdb. Joining with `by = join_by(visit_occurrence_id)` trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Content type 'application/zip' length 6754786 bytes (6.4 MB) ================================================== downloaded 6.4 MB i Reading GiBleed tables. i Reading GiBleed tables. [ FAIL 2 | WARN 8 | SKIP 1 | PASS 153 ] ══ 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")` to run without any errors. i Actually got a <rlib_error_package_not_found> with text: The package "duckdb" is required. ── Failure ('test-mockDatasets.R:39:3'): mock datasets cdm creation ──────────── Expected `cdm <- mockCdmFromDataset(datasetName = dbName, source = "duckdb")` to run without any errors. i Actually got a <rlib_error_package_not_found> with text: The package "duckdb" is required. [ FAIL 2 | WARN 8 | SKIP 1 | PASS 153 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.6.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 '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 trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Content type 'application/zip' length 6754786 bytes (6.4 MB) ================================================== downloaded 6.4 MB Quitting from synthetic_datasets.Rmd:127-130 [unnamed-chunk-11] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-release-windows-x86_64

Version: 0.6.0
Check: package dependencies
Result: ERROR Package required and available but unsuitable version: ‘omopgenerics’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-oldrel-macos-x86_64