Skip to content

Problem with DUS step #52

@JavierGorri

Description

@JavierGorri

Dear Theresa,

We have a problem when we try to run the R code of tha DUS step. Can you help us with it?

This is the trace:

rlang::last_trace()
<error/rlang_error>
Error in dplyr::collect():
! Failed to collect lazy table.
Caused by error:
! nanodbc/nanodbc.cpp:3108: 07009: [Microsoft][SQL Server Native Client 11.0]Invalid Descriptor Index


Backtrace:

  1. ├─base::source("C:/Users/D229463/Desktop/Scripts_R/MegaStudy-Fase2/MegaStudy-main/DUS Code/CodeToRun.R")
  2. │ ├─base::withVisible(eval(ei, envir))
  3. │ └─base::eval(ei, envir)
  4. │ └─base::eval(ei, envir)
  5. ├─base::source(here("DUS.R")) at MegaStudy-main/DUS Code/CodeToRun.R:47:1
  6. │ ├─base::withVisible(eval(ei, envir))
  7. │ └─base::eval(ei, envir)
  8. │ └─base::eval(ei, envir)
  9. ├─base::source(here("individual_indications.R")) at MegaStudy-main/DUS Code/DUS.R:45:1
  10. │ ├─base::withVisible(eval(ei, envir))
  11. │ └─base::eval(ei, envir)
  12. │ └─base::eval(ei, envir)
  13. ├─CodelistGenerator::getCandidateCodes(...) at MegaStudy-main/DUS Code/individual_indications.R:3:1
  14. │ └─base::lapply(...)
  15. │ └─CodelistGenerator (local) FUN(X[[i]], ...)
  16. │ └─CodelistGenerator:::runSearch(...)
  17. │ └─CodelistGenerator:::getMatches(words = tidyWords(keywords), conceptDf = workingConcept)
  18. │ └─workingConcepts %>% dplyr::collect()
  19. ├─dplyr::collect(.)
  20. └─omopgenerics:::collect.cdm_table(.)
  21. ├─dplyr::collect(removeClass(x, "cdm_table"))
  22. └─dbplyr:::collect.tbl_sql(removeClass(x, "cdm_table"))
    Run rlang::last_trace(drop = FALSE) to see 6 hidden frames.

We find this.

image

These are the libraries a picture from the Console.

image

Kind regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions