OHDSI / CohortGenerator

An R package for instantiating cohorts using data in the CDM.
https://ohdsi.github.io/CohortGenerator/
11 stars 10 forks source link

Cohort sample table - backwards compatibility #138

Closed anthonysena closed 1 month ago

anthonysena commented 2 months ago

If someone had serialized the cohort table names to an external file and then attempted to call the createCohortTables, this code will fail since it will attempt to evaluate NULL && NULL:

https://github.com/OHDSI/CohortGenerator/blob/0c0e48792103beda659f9f1a57c34f0058beb7a3/R/CohortTables.R#L109C27-L110