omock
0.7.0Creation of Mock Observational Medical Outcomes Partnership Common Data Model
Overview
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.
Install
Health
- OK2026-06-2013 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-1911 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-2413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
- ERROR2026-05-1712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-1513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-1312 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 61%
- Documented parameters
- 98%
- Return-value docs
- 96%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
8 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ohdsi/omock on 2026-07-19.
Show all practices
Dependencies
Code & Tests
- Cyclomatic complexity
- 2.0 median / 13 max
- Test cases
- 57 / 0.51 per code line
Test coverage
Line coverage
89%
Expression
88.0%
Tests / Examples
89.3% / 42% ex
Functions
90 22 exported
Complexity
3.4 avg / 13 max
Call network
90 nodes / 140 edges
Call graph
Open call graph →Lowest coverage
90 functions| Function | Cyclo | Coverage |
|---|---|---|
| checkCohort | 1 | 0% |
| checkNumberRecords | 4 | 0% |
| checkVersion | 1 | 0% |
| checkcohort | 1 | 0% |
| correctDateDeath | 2 | 13% |
| question | 3 | 20% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| mockDatasets | tbl_df/tbl/data.frame | 25 × 9 | – |
People & History
11 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.7.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.6.22026-03-23 · diff ↗
- 0.6.12026-02-03 · diff ↗
- 0.6.02025-10-31 · diff ↗
- 0.5.02025-09-01 · diff ↗
- 0.4.02025-06-12 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.3.22025-01-23 · diff ↗
- 0.3.12024-10-15 · diff ↗
- 0.3.02024-09-20 · diff ↗
- 0.2.02024-05-20 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.02024-03-08
- RR 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.5 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet