OHDSI / omock

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

mockCohort if passed directly after mockCdmReference #87

Closed edward-burn closed 2 months ago

edward-burn commented 4 months 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

ilovemane commented 2 months ago

this is fixed in #102