EHDEN / CdmInspection

R Package to support quality control inspection of an OMOP-CDM instance
Apache License 2.0
11 stars 16 forks source link

getCDMSource Error #58

Closed paix30 closed 3 years ago

paix30 commented 3 years ago

Hi, I'm using rStudio and installed the latest CDMInspection package to run on the CDM 5.3.1. instance on PostgreSql. I'm running the script attached and getting the error below.

Connecting using PostgreSQL driver Warning: the condition has length > 1 and only the first element will be used CDM Inspection of database CDM_CAPA_COVID started (cdm_version=5.3.1) Running Data Table Checks Error in .getCdmSource(connectionDetails, cdmDatabaseSchema, sqlOnly, : object 'cdmSource' not found

rlang::last_error() <error/rlang_error> The folder location pathToDriver = ' ' does not exist. Please set the folder to the location containing the JDBC driver. You can download most drivers using the downloadJdbcDrivers() function. Backtrace:

  1. DatabaseConnector::createConnectionDetails(...) Run rlang::last_trace() to see the full context.

CdmInspection.R.txt

paix30 commented 3 years ago

This is resolved when I made sqlOnly = FALSE.