Last updated on 2025-11-01 10:50:18 CET.
| Package | ERROR | OK |
|---|---|---|
| omock | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
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