OHDSI / omock

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

mockCohort if passed directly after mockCdmReference #87

Open edward-burn opened 1 month ago

edward-burn commented 1 month ago

@ilovemane I guess the above warning is unintentional?

omock::mockCdmReference() |>
  omock::mockCohort()
#> Warning: There was 1 warning in `dplyr::filter()`.
#> ℹ In argument: `.data$rand == min(.data$rand)`.
#> Caused by warning in `min()`:
#> ! no non-missing arguments to min; returning Inf
#> 
#> ── # OMOP CDM reference (local) of mock database ───────────────────────────────
#> • omop tables: person, observation_period, cdm_source, concept, vocabulary,
#> concept_relationship, concept_synonym, concept_ancestor, drug_strength
#> • cohort tables: cohort
#> • achilles tables: -
#> • other tables: -

Created on 2024-06-11 with reprex v2.0.2