oxford-pharmacoepi / MegaStudy

4 stars 2 forks source link

Running DUS.R fails at `GENERATE DRUG CONCEPTS` #72

Open festerman opened 2 weeks ago

festerman commented 2 weeks ago
tiozab commented 2 weeks ago

Let us know if you need our help. You can always re-run the DUS_1point4.R file "line by line" with fewer drugs / indications, or we can guide you through it. Did you successfully deploy the new renv as well from #53 ? it has the odbc package version "Version": "1.3.5",

festerman commented 2 weeks ago

Tested different version combinations. Base is the renv.lock from @tiozab in #53 (except I used renv 1.07, and removed the RPostgres package). Tried it on R 4.3.2 and 4.4.0, and with M$ ODBC driver 17 or 18. Also retooled, to run it on our HPC cluster -- no RStudio.

Crashes as above with odbc 1.3.5 -- in any combination of R and M$ driver. Works with R package odbc 1.5.0 -- likewise in any combination of R and driver.

So it looks very much like a bug in odbc 1.3.5 ...

tiozab commented 2 weeks ago

Thanks @festerman for the report. @edward-burn any idea?

edward-burn commented 2 weeks ago

@festerman if it is working with odbc 1.5 then that's great, did the whole study work with that?