Closed bdemeulder closed 3 years ago
Looks like this is caused by https://github.com/ohdsi-studies/PioneerWatchfulWaiting/commit/d865b1984a790da3b3498f500c5a5362c1578be0, fread sees the covariateId column as double while read.csv interpreted as string. As a result global.r:139 no longer works.
Possible fix:
covIdsAsString <- as.character(covariate$covariateId) covariate$windowId <- as.numeric(substr(covIdsAsString, nchar(covIdsAsString), nchar(covIdsAsString)))
The tables in cohort char and compare cohort char are empty in the newest version of the package, using the PreMerge data available in teams.
The error says "the replacement table has 1 line, the replaced table as 0".
Attaching traceback as well. ll