OHDSI / omock

https://ohdsi.github.io/omock/
Apache License 2.0
2 stars 0 forks source link

unhelpful error #49

Closed catalamarti closed 3 months ago

catalamarti commented 3 months ago
cdm <- omock::mockCdmReference() |>
    omock::mockCdmFromTable(cohortTable = dplyr::tibble(
      "cohort_definition_id" = 1,
      "subject_id" = c(1, 2, 3),
      "cohort_start_date" = as.Date("2020-01-01"),
      "cohort_end_date" = as.Date("2029-12-31")
    ))
#> Error in UseMethod("select"): no applicable method for 'select' applied to an object of class "c('double', 'numeric')"

Created on 2024-04-10 with reprex v2.0.2