Skip to content

omock

0.7.0Package record

Creation of Mock Observational Medical Outcomes Partnership Common Data Model

0packages dependsuggested by 14
9.3Kdownloads / year
89.3%test coverage
13/13flavors OK

Overview

About

Creates mock data for testing and package development for the Observational Medical Outcomes Partnership common data model. The package offers functions crafted with pipeline-friendly implementation, enabling users to effortlessly include only the necessary tables for their testing needs.

Changes in 0.7.0
  • 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.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-30
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-20
Show 8 earlier changesHide 8 earlier changes
  • ERROR11 OK, 2 ERROR2026-06-19
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-24
  • ERROR12 OK, 1 ERROR2026-05-17
  • OK13 OK2026-05-15
  • ERROR12 OK, 1 ERROR2026-05-13
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.7.0
READMEYes · 304 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.7.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
Help pages
25 (2 internal)includes a package overview page
Examples that run
61%14 run in a plain check · 9 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
96%
Documented parameters
98%
Return-value docs
96%
Help pages citing references
0%

Downloads

9.3K
CRAN downloads in the past year
Rank #4,128 · ~25/day · ~773/mo
Daily download trend is not available in this view yet.
95430 days
2.1K90 days
9.3K1 year
Compare downloads with other packages →
Also on357 r2u7 autocran

Repository

ohdsi/omock ↗Organization: OHDSI
5Stars
2Forks
16Open issues
0Open PRs
12Releases
453Commits
5Commit identities
License file reads as Apache-2.0 · 453 commits · Last activity 2026-06-19 · 0% stars, 30d · Default branch at 0.7.0.9000, ahead of CRAN 0.7.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
98%
Median days to close, 50 most recently updated closed issues
41
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-06-21 · 22026-08-05 · 5
PracticesBeta

13 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/ohdsi/omock on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Governance and community (1)
Contributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-06-29 · The repository has a site deploy workflow

pkgdown site last built 2026-06-29

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing omock adds 38 packages (19 with compiled code, 27 MB of source tarballs). Heaviest: stringi 11 MB, arrow 4.2 MB, vctrs 1.0 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none

Datasets

People & History

People (5)
Author, Maintainer since 0.1.0 (2024)
Author · added in 0.6.0
Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.5.0
Releases (11)

Pick two releases to compare their code metrics.

  • 0.7.0Latest
    record
    2026-06-19 · current release · diff ↗ ·
    added 1 export
    subsetVocabularyTables
  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.2
    record
    2026-03-23 · diff ↗
  • 0.6.1
    record
    2026-02-03 · diff ↗
  • 0.6.0
    record
    2025-10-31 · diff ↗ ·
    removed 5 exports
    attrition, bind, cohortCount, dropTable, settings
    added 14 exports
    achillesColumns, achillesTables, cdmDisconnect, cdmReference, cohortColumns, cohortTables, dropSourceTable, listSourceTables, omopColumns, omopDataFolder, omopTables, readSourceTable, tableName, tableSource
  • 0.5.0
    record
    2025-09-01 · diff ↗ ·
    added 1 export
    mockVocabularySet
  • 0.4.0
    record
    2025-06-12 · diff ↗ ·
    added 6 exports
    availableMockDatasets, downloadMockDataset, isMockDatasetDownloaded, mockCdmFromDataset, mockDatasetsFolder, mockDatasetsStatus
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.2
    record
    2025-01-23 · diff ↗
  • 0.3.1
    record
    2024-10-15 · diff ↗
  • 0.3.0
    record
    2024-09-20 · diff ↗ ·
    added 2 exports
    mockProcedureOccurrence, mockVisitOccurrence
  • 0.2.0
    record
    2024-05-20 · diff ↗ ·
    removed 1 export
    mockCdmFromTable
    added 8 exports
    mockCdmFromTables, mockConcepts, mockConditionOccurrence, mockDeath, mockDrugExposure, mockMeasurement, mockObservation, mockVocabularyTables
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.0
    record
    2024-03-08
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-03-08
Total releases
11 / 2 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.1.0
Bundled data
1.3 KB / 1 file
Download size
3.6 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("omock")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.21105/joss.08178.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for omock version 0.7.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy