https://github.com/oxford-pharmacoepi/MegaStudy/blob/d15cf1b355178b356be8c7eef442d42c597c8852/DUS%20Code/DUS.R#L458
Hi Team, I got this error when running the DUS code on our data source. This error was caused by the "addDrugUse" on L458 of DUS.R. Is this because the version of the package I'm using? I'm using DrugUtilisation 0.5.0
Error: Failed to prepare query: ERROR:  syntax error at or near "DISTINCT"
LINE 106:             "LHS"."amount_numeric" IS NOT DISTINCT FROM "dbp...
^
In addition: There were 50 or more warnings (use warnings() to see the first 50)