Seeing this error with a prediction package. Seems to be some interaction with CohortGenerator.
Error in CohortGenerator::getCohortDefinitionSet(packageName = "EmcDementiaPredictionBase", :
Assertion on 'names(settings)' failed: CohortGenerator requires the following columns in the settings file: "cohortId", "cohortName". The following columns were found: "cohortname", "cohortid", "webapicohortid".
In addition: Warning message:
In readCsv(file = getPath(fileName = settingsFileName)) :
The actual file "Cohorts.csv" looks like this:
"cohortName","cohortId","webApiCohortId"
"[HJ] Dementia Prediction - 55-84y - v3","5920","5920"
"[HJ] Dementia (Phenotype February)","6243","6243"