Package: TestGenerator 0.8.0

Cesar Barboza

TestGenerator: Integration Unit Tests for Pharmacoepidemiological Studies

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/>.

Authors:Cesar Barboza [aut, cre], Ioanna Nika [aut], Ger Inberg [aut], Adam Black [aut]

TestGenerator_0.8.0.tar.gz
TestGenerator_0.8.0.zip(r-4.7-any)TestGenerator_0.8.0.zip(r-4.6-any)TestGenerator_0.8.0.zip(r-4.5-any)
TestGenerator_0.8.0.tgz(r-4.6-any)TestGenerator_0.8.0.tgz(r-4.5-any)
TestGenerator_0.8.0.tar.gz(r-4.7-any)TestGenerator_0.8.0.tar.gz(r-4.6-any)
TestGenerator_0.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
TestGenerator/json (API)

# Install 'TestGenerator' in R:
install.packages('TestGenerator', repos = c('https://darwin-eu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/darwin-eu/testgenerator/issues

Pkgdown/docs site:https://darwin-eu.github.io

On CRAN:

Conda:

5.32 score 14 scripts 466 downloads 9 exports 79 dependencies

Last updated from:8f67c14384. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK311
source / vignettesOK199
linux-releaseOK328
macos-releaseOK128
macos-oldrelOK233
windows-develOK240
windows-releaseOK288
windows-oldrelOK255
wasm-releaseOK126

Exports:cleanupTestCdmdownloadTestDatagenerateTestTablesgraphCohortpatientsCDMreadPatientsreadPatients.csvreadPatients.xluseGithubAction

Dependencies:askpassbackportsbitbit64blobbriocallrCDMConnectorcellrangercheckmateclicliprcpp11crayoncredentialscurlDBIdbplyrdescdiffobjdplyrduckdbevaluatefsgenericsgertgitcredsgluehmshttr2inijsonlitelifecyclelubridatemagrittromopgenericsopensslopenxlsxotelpakpillarpkgbuildpkgconfigpkgloadpraiseprettyunitsprocessxprogresspspurrrR6rappdirsRcppreadrreadxlrematchrlangRPostgresrprojrootrstudioapisnakecasestringistringrsystestthattibbletidyrtidyselecttimechangetzdbusethisutf8vctrsvroomwaldowhiskerwithryamlzip

Getting started with TestGenerator
Create a Unit Test Definition | Load the Test Population into a CDM | Use the CDM in Unit Tests | Start from a Blank Excel Template | CSV Inputs | Clean Up

Last update: 2026-05-17
Started: 2026-04-30

GitHub Actions
Create the workflow files | Add the expected test files | PostgreSQL and SQL Server actions | Databricks action | Suggested CI workflow

Last update: 2026-05-17
Started: 2026-05-17

Remote databases
Use patientsCDM() with a remote database | Environment variables for direct use | A minimal backend test pattern

Last update: 2026-05-17
Started: 2026-05-17