OHDSI / ROhdsiWebApi

An R package for interfacing with a WebAPI instance
https://ohdsi.github.io/ROhdsiWebApi
10 stars 17 forks source link

Calling undefined `checkInputFileEncoding` function when creating cohorts #193

Closed schuemie closed 3 years ago

schuemie commented 3 years ago

The .createCohorts() function created by ROhdsiWebApi when calling insertCohortDefinitionSetInPackage() includes a call to checkInputFileEncoding(), which is undefined. (It is defined in ROhdsiWebApi, but I don't want to have a dependency with ROhdsiWebApi in my study package just for that.)

See here and a few lines back. I propose removing these calls, or else copy the definition of the function into this R file.