-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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 indplyr::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:
▆
- ├─base::source("C:/Users/D229463/Desktop/Scripts_R/MegaStudy-Fase2/MegaStudy-main/DUS Code/CodeToRun.R")
- │ ├─base::withVisible(eval(ei, envir))
- │ └─base::eval(ei, envir)
- │ └─base::eval(ei, envir)
- ├─base::source(here("DUS.R")) at MegaStudy-main/DUS Code/CodeToRun.R:47:1
- │ ├─base::withVisible(eval(ei, envir))
- │ └─base::eval(ei, envir)
- │ └─base::eval(ei, envir)
- ├─base::source(here("individual_indications.R")) at MegaStudy-main/DUS Code/DUS.R:45:1
- │ ├─base::withVisible(eval(ei, envir))
- │ └─base::eval(ei, envir)
- │ └─base::eval(ei, envir)
- ├─CodelistGenerator::getCandidateCodes(...) at MegaStudy-main/DUS Code/individual_indications.R:3:1
- │ └─base::lapply(...)
- │ └─CodelistGenerator (local) FUN(X[[i]], ...)
- │ └─CodelistGenerator:::runSearch(...)
- │ └─CodelistGenerator:::getMatches(words = tidyWords(keywords), conceptDf = workingConcept)
- │ └─workingConcepts %>% dplyr::collect()
- ├─dplyr::collect(.)
- └─omopgenerics:::collect.cdm_table(.)
- ├─dplyr::collect(removeClass(x, "cdm_table"))
- └─dbplyr:::collect.tbl_sql(removeClass(x, "cdm_table"))
Run rlang::last_trace(drop = FALSE) to see 6 hidden frames.
We find this.
These are the libraries a picture from the Console.
Kind regards,
Metadata
Metadata
Assignees
Labels
No labels

