Closed scossin closed 3 years ago
By changing this number 140 to 20 (https://github.com/scossin/PioneerWatchfulWaiting/commit/7db6afbebb579503052b445039ff28c64acb8181), it finally worked.
@scossin can you comment if this is still an issue in 0.3.2?
We didn't have this error in version 0.3.2 but I don't know why.
The error occurs here: https://github.com/ohdsi-studies/PioneerWatchfulWaiting/blob/2efb021c2e0220df121e9efd6612ac3c56abf600/R/RunStudy.R#L205
This line:
We have all total counts < 140 (returns by getMinimumSubjectCountForCharacterization()) so featureProportions has 0 row next line and the writeToCsv function generates the error