OHDSI / CohortDiagnostics

An R package for performing various cohort diagnostics.
https://ohdsi.github.io/CohortDiagnostics
40 stars 45 forks source link

Error in createMergedResultsFile #1061

Closed rfherrerac closed 1 year ago

rfherrerac commented 1 year ago

When running createMergedResultsFile getting this error

Assertion on 'connectionDetails' failed: Must inherit from class 'connectionDetails', but has classes 'ConnectionDetails','DefaultConnectionDetails'.

Also affecting the shiny app lunch.

azimov commented 1 year ago

Hi @rfherrerac this issue Is likely caused by your version of DatabaseConnector being old or your version of CohortDiagnostics being old. Please run:

remotes::install_github("OHDSI/CohortDiagnostics")

And update all available packages. If this doesn't resolve your issue run:

install.packages("DatabaseConnector")

This should update everything to the latest versions.