Integration Unit Tests for Pharmacoepidemiological Studies
Overview
An R interface to load testing data in the 'OMOP' Common Data Model ('CDM'). An input file, csv or xlsx, can be converted to a 'CDMConnector' object. This object can be used to execute and test studies that use the 'CDM' https://www.ohdsi.org/data-standardization/.
- Fixed missing
cdm_schemaattribute incdm_referencewhen using remote databases (e.g., SQL Server). - Implemented dynamic, unique schema names (prefixed with
cdm_testgenerator_) to prevent database collisions. - Fixed
patientsCDM()to ensure the correct remote CDM reference is returned during the injection process. - Added regression tests to verify
cdm_schemaattribute presence andCohortConstructorcompatibility on SQL Server. - Removed
DARWIN_prefix from environment variables to run tests on SQL Server and Postgres.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-30
- ERROR12 OK, 1 ERROR2026-09-04
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 6 earlier changesHide 6 earlier changes
- 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
Documentation
- Help pages
- 11
- Examples that run
- 50%3 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 67%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- not measured
Forks over time
Releases over time
Issues over time
Commit identities over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/darwin-eu/testgenerator on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-05-18 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Installing TestGenerator adds 80 packages (42 with compiled code, 50 MB of source tarballs). Heaviest: stringi 11 MB, duckdb 4.6 MB, CDMConnector 4.0 MB.
Code & Tests
Datasets
People & History
Previously maintained by Ger Inberg (0.4.0 to 0.7.0) and Cesar Barboza (0.2.5 to 0.3.3).
Pick two releases to compare their code metrics.
- 0.8.0Latest
- 0.7.02026-04-30 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 0.6.0
- 0.5.02026-01-14 · diff ↗
- unarchivedReturned to CRAN2025-05-27
- 0.4.02025-05-27 · diff ↗
- RR 4.5.0 released · 2025-04-11
- archivedRemoved from CRAN2025-03-31issues were not corrected despite reminders
- 0.3.3
- 0.3.12024-05-28 · diff ↗ ·
added 4 exports
downloadTestData, graphCohort, readPatients.csv, readPatients.xl - RR 4.4.0 released · 2024-04-24
- 0.2.52024-02-01
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-02-01
- Total releases
- 8 / 2 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 4.1.0
- Download size
- 733 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("TestGenerator")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.