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.
The
.createCohorts()
function created by ROhdsiWebApi when callinginsertCohortDefinitionSetInPackage()
includes a call tocheckInputFileEncoding()
, 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.