Please forgive me if this is a dumb question as I am a newbie.
I set up RStudio following the documentation and installed DataQualityDashboard, but when I run it throws the following error: Error in DataQualityDashboard::executeDqChecks(connectionDetails = con, :
connectionDetails must be an object of class ‘connectionDetails’.
Here is the transcript of what I did:
con ← createConnectionDetails(dbms = ‘sql server’,
Hi there, thanks for reporting this! I believe this is due to an incompatibility between DQD and the latest version of DatabaseConnector. We identified this recently and I just merged in a fix yesterday. An updated version of DQD will be released in the coming days which should resolve this issue - I’ll report back here when that’s released!
In the meantime, reverting to a pre-6.0.0 version of DatabaseConnector should also fix this.
oh thank you so much. I see now in the code that it is doing a check on class and comparing it to
!(“connectionDetails” %in% class(connectionDetails))) {
The issue appears to be the case of the first letter… anyway that’s my guess.
But thank you for your quick response and I look forward to getting the fix.
Thanks both for your patience. The release is in final review and should be shipped next week.
@charlie that’s correct - the case of the ConnectionDetails object changed in databaseConnector 6.0.0. The fix in DQD will simply be to add the new name as an accepted value to that initial check!
I’ll let you both know here as soon as it’s released.