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)TestGenerator_0.8.0.zip(r-4.6)TestGenerator_0.8.0.zip(r-4.5)
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.22 score 11 scripts 632 downloads 9 exports 78 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK256
source / vignettesOK224
linux-release-x86_64OK264
macos-release-arm64OK216
macos-oldrel-arm64OK198
windows-develOK3103
windows-releaseOK2953
windows-oldrelOK3017
wasm-releaseOK130

Exports:cleanupTestCdmdownloadTestDatagenerateTestTablesgraphCohortpatientsCDMreadPatientsreadPatients.csvreadPatients.xluseGithubAction

Dependencies:askpassbackportsbitbit64blobbriocallrCDMConnectorcellrangercheckmateclicliprcpp11crayoncredentialscurlDBIdbplyrdescdiffobjdplyrduckdbevaluatefsgenericsgertgitcredsgluehmshttr2inijsonlitelifecyclelubridatemagrittromopgenericsopensslopenxlsxotelpillarpkgbuildpkgconfigpkgloadpraiseprettyunitsprocessxprogresspspurrrR6rappdirsRcppreadrreadxlrematchrlangRPostgresrprojrootrstudioapisnakecasestringistringrsystestthattibbletidyrtidyselecttimechangetzdbusethisutf8vctrsvroomwaldowhiskerwithryamlzip

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