Skip to contents

omock (development version)

  • Deprecated mockConcepts() because it creates placeholder concept rows that may be mistaken for real OMOP vocabulary content. Use mockCdmReference(vocabularySet = "eunomia"), mockVocabularyTables(), or subsetVocabularyTables() instead.
  • changeCdmVersion() now uses omopgenerics::compareOmopTableFields() and aligns local OMOP tables to the target CDM version fields.
  • mockCdmFromDataset() now validates cdmVersion and converts loaded datasets to the requested CDM version when needed.
  • Downloaded mock datasets within 99.99% of their expected size are now reused; users are only asked to delete a dataset when it appears incomplete.
  • Mock dataset CDM names now resolve to a downloadable dataset version before download, avoiding invalid URL errors when a requested target CDM version is not directly hosted.

omock 0.6.2

CRAN release: 2026-03-23

omock 0.6.1

CRAN release: 2026-02-03

New Features and Improvements

  • Improved dataset downloads with retry logic and timeout handling for more reliable fetching.
  • Updated mock dataset URLs to a new storage location and improved join logic.
  • Enhanced mock CDM examples, including clearer error handling and more robust behaviour.
  • Added an internal GI Bleed dataset, along with the associated loading logic, for expanded example coverage.

Bug Fixes

  • Removed unused input validation and table-checking functions to simplify the codebase.
  • Fixed the placement of rows_to_keep calculation in mockCohort to ensure correct behaviour.

omock 0.6.0

CRAN release: 2025-10-31

New Features and Improvements

  • Added new vignettes and updated to omopgenerics 1.3.1 #184
  • Introduced support for mockCdmFromTables() #196
  • Added re-exported functions from omopgenerics for improved usability #198
  • Added warning messages in mockCohort() for clearer user feedback #197
  • Added visit_detail mock table support #224
  • Added function to change CDM version from 5.3 to 5.4 #221

Updates and Maintenance

  • Updated citation and badge information #195
  • Updated drugStrength from RDS source #194
  • General updates and internal refinements #207
  • Replaced deprecated lubridate usage with clock for date-time handling #222

Bug Fixes

  • Fixed handling of concepts not in OMOP tables #199
  • Fixed vocabulary set retrieval issues #209
  • Fixed concept type ID handling #208
  • Fixed download truncation issues #212
  • Fixed other minor bugs #192 #200

omock 0.5.0

CRAN release: 2025-09-01

omock 0.4.0

CRAN release: 2025-06-12

omock 0.3.2

CRAN release: 2025-01-23

omock 0.3.1

CRAN release: 2024-10-15

omock 0.3.0

CRAN release: 2024-09-20

omock 0.2.0

CRAN release: 2024-05-20

omock 0.1.0

CRAN release: 2024-03-08

  • Initial CRAN submission.