ohdsi-studies / ReproducibilityRayJAMA2021

Reproducibility study of Ray et al JAMA 2021 comparative effectiveness of rivaroxaban vs apixaban in atrial fibrillation
1 stars 3 forks source link

MAX Iteration when fitting PS #5

Open rfherrerac opened 1 year ago

rfherrerac commented 1 year ago

Hi, When running the package in a US claims+EHR data, I am getting this error when fitting the PS:

Thread: 1 Message: MAX_ITERATIONS Level: FATAL Time: 2023-05-24 14:19:37

Stack trace: 3: stop(cyclopsFit$return_flag) 2: createPs(stopOnError = TRUE, excludeCovariateIds = list(), prior = list(1, 1: do.call("createPs", args)

Thread: Main Message: Error(s) when calling function 'fun', see earlier messages for details Level: FATAL Time: 2023-05-24 14:19:42

Stack trace: 7: h(simpleError(msg, call)) 6: .handleSimpleError(function (condition) { if (is(condition, "erro 5: stop(message) 4: ParallelLogger::clusterApply(cluster, modelsToFit, fitSharedPsModel, 3: CohortMethod.R#60: CohortMethod::runCmAnalyses(connectionDetails = c 2: Main.R#123: runCohortMethod(connectionDetails = connectionDetails, c 1: Reproducibility::execute(connectionDetails = connectionDetails, cdmD

R version: R version 4.2.1 (2022-06-23)

Platform: x86_64-pc-linux-gnu

Attached base packages:

Other attached packages:

Any help will be appreciated!

mdlavallee92 commented 1 year ago

Hi @rfherrerac i think I need more information from you to solve this issue. Do you mind scheduling a time to share screen?