Skip to content

omock

0.7.0

Creation of Mock Observational Medical Outcomes Partnership Common Data Model

13packages depend
22.1Kdownloads / year
89.3%test coverage
13/13checks pass

Overview

About
Maintained by Mike DuFirst published 2024-03-0811 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 8.9 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.51
89.3%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-06-20
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-19
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-05-17
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-15
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-13
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 304 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
61%
Documented parameters
98%
Return-value docs
96%
References docs
0%

Downloads

22.1K
CRAN downloads in the past year
Rank #4,155 · ~61/day · ~1.8K/mo
Daily download trend is not available in this view yet.
54930 days
2.3K90 days
22.1K1 year
Compare downloads with other packages →
Also on374 r2u44 autocran

Repository

Repository
4Stars
2Forks
15Open issues
0Open PRs
12Releases
453Commits
5Contributors
License Apache-2.0 · 453 commits · Last activity 2026-06-29 · 0% stars, 30d

Stars over time

2024-06-21 · 22026-07-07 · 4

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 5,709 (78%)Rd 1,024 (14%)Vignettes 558 (8%)
Code characteristics
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

Loading call graph…

Lowest coverage

90 functions
FunctionCycloCoverage
checkCohort10%
checkNumberRecords40%
checkVersion10%
checkcohort10%
correctDateDeath213%
question320%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
mockDatasetstbl_df/tbl/data.frame25 × 9

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Author · added in 0.6.0
Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.5.0
Package Timeline

11 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.7.0Latest
    2026-06-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.2
    2026-03-23 · diff ↗
  • 0.6.1
    2026-02-03 · diff ↗
  • 0.6.0
    2025-10-31 · diff ↗
  • 0.5.0
    2025-09-01 · diff ↗
  • 0.4.0
    2025-06-12 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.2
    2025-01-23 · diff ↗
  • 0.3.1
    2024-10-15 · diff ↗
  • 0.3.0
    2024-09-20 · diff ↗
  • 0.2.0
    2024-05-20 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.0
    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.5 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →