oxford-pharmacoepi / MegaStudy

4 stars 2 forks source link

Problem running DUS.R #35

Closed donni29 closed 5 months ago

donni29 commented 8 months ago

Hello everyone, We are running the code of "DUS code" and we have obtained the following error during the execution of generateConceptCohortSet (line 124 of DUS.R):

image

To try to overcome this, we also tried to use an older version of the CDMConnector package (currently 1.3.0) but the same error was generated. The execution of the other two codes (Feasibility Code and IncidencePrevalence Code) were successful.

tiozab commented 8 months ago

Hi @donni29 which DBMS you are using, and which database?

donni29 commented 8 months ago

We are using PostgreSQL and the database is the standard CdmV5.4 (nameDB=cdm, schema=public)

tiozab commented 8 months ago

Thank you, I meant what is the name of your database @donni29

tiozab commented 8 months ago

@catalamarti can you help us? never seen this error before.

tiozab commented 7 months ago

@donni29 , the code was update yesterday, so please use the new version. Can you still let us know from which database you come from ? That will help with trouble shooting as well :-)

donni29 commented 7 months ago

Thanks @tiozab for your help!! We were able to solve the problem by downgrading the version of R and some of the libraries used within the package (therefore no problem related to the type of database used).

tiozab commented 7 months ago

@donni29 thanks that is great, yes it is important to use the renv, or individually use the correct version packages, which still change very much. Just to double check that you have used the most recent code from this repository, because if not, please run it again (the indications code lists have been updated), sorry for the trouble! The code you had originally was the testing version.