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