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:
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✨
card.svg |card.png
TestGenerator/json (API)
NEWS
| # 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
Last updated from:8f67c14384. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 266 | ||
| source / vignettes | OK | 194 | ||
| linux-release-x86_64 | OK | 256 | ||
| macos-release-arm64 | OK | 241 | ||
| macos-oldrel-arm64 | OK | 268 | ||
| windows-devel | OK | 299 | ||
| windows-release | OK | 225 | ||
| windows-oldrel | OK | 245 | ||
| wasm-release | OK | 132 |
Exports:cleanupTestCdmdownloadTestDatagenerateTestTablesgraphCohortpatientsCDMreadPatientsreadPatients.csvreadPatients.xluseGithubAction
Dependencies:askpassbackportsbitbit64blobbriocallrCDMConnectorcellrangercheckmateclicliprcpp11crayoncredentialscurlDBIdbplyrdescdiffobjdplyrduckdbevaluatefsgenericsgertghgitcredsgluehmshttrhttr2inijsonlitelifecyclelubridatemagrittrmimeomopgenericsopensslopenxlsxpillarpkgbuildpkgconfigpkgloadpraiseprettyunitsprocessxprogresspspurrrR6rappdirsRcppreadrreadxlrematchrlangRPostgresrprojrootrstudioapisnakecasestringistringrsystestthattibbletidyrtidyselecttimechangetzdbusethisutf8vctrsvroomwaldowhiskerwithryamlzip
Getting started with TestGenerator
Rendered fromgettingStarted.Rmdusingknitr::rmarkdownon May 18 2026.Last update: 2026-05-17
Started: 2026-04-30
GitHub Actions
Rendered fromgithubActions.Rmdusingknitr::rmarkdownon May 18 2026.Last update: 2026-05-17
Started: 2026-05-17
Remote databases
Rendered fromremoteDatabases.Rmdusingknitr::rmarkdownon May 18 2026.Last update: 2026-05-17
Started: 2026-05-17
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Check if a given remote file is available for download | checkRemoteFileAvailable |
| Check if the given tables and columns are valid and return the loaded data. | checkTablesColumns |
| Clean up a test CDM on a remote database | cleanupTestCdm |
| Download Test Data Files | downloadTestData |
| Generates an Excel file with sheets that correspond to an OMOP-CDM tables. | generateTestTables |
| Deprecated cohort timeline visualisation | graphCohort |
| Pushes test population into a blank CDM. | patientsCDM |
| Converts a sample of patients into Unit Testing Definition JSON file. | readPatients |
| Converts a sample of patients in CSV format into a Unit Testing Definition JSON file. | readPatients.csv |
| Converts a sample of patients in XLSX format into Unit Testing Definition JSON file. | readPatients.xl |
| Create GitHub Action workflows for specific DBMS | useGithubAction |