OHDSI / PatientLevelPrediction

An R package for performing patient level prediction in an observational database in the OMOP Common Data Model.
https://ohdsi.github.io/PatientLevelPrediction
188 stars 89 forks source link

check the covariateSettings object #477

Open jreps opened 3 months ago

jreps commented 3 months ago

It seems that users may be able to specify an incorrectly formatted covariateSettings and the code runs but then hangs when FeatureExtraction is called. It is difficult for users to figure out the cause of the issue.

We should add a check in the package for the covariateSettings to make sure it is a covariateSetting object or a list of covariateSettings. Then we can print out the issue if the covariateSettings is in the wrong format.