ohdsi-studies / PhenotypeLibraryDiagnostics

Computing cohort diagnostics for all cohort definitions in the OHDSI Phenotype Library
2 stars 0 forks source link

Unable to run: Error runPhenotypeLibraryDiagnostics #17

Open jpetucci opened 1 year ago

jpetucci commented 1 year ago

I've installed the latest available version and attempted to run CodeToRun.R:

$ Rscript ./extras/CodeToRun.R
Loading required package: DatabaseConnector
Error in runPhenotypeLibraryDiagnostics(connectionDetails = connectionDetails,  :
  could not find function "runPhenotypeLibraryDiagnostics"
Execution halted

I cannot find where runPhenotypeLibraryDiagnostics is defined in the project.

gowthamrao commented 1 year ago

Hi @jpetucci you are welcome to run the PhenotypeLibraryDiagnostics R package for any application. it would be really great if you can contribute the output to the OHDSI PL. The output would be used to update this https://data.ohdsi.org/PhenotypeLibrary/

I see that the CodeToRun.R did not keep up with some changes in version 3.x. I updated this for you. Please check.