darwin-eu / omopgenerics

https://darwin-eu.github.io/omopgenerics/
Apache License 2.0
2 stars 1 forks source link

suppress problem if multiple min_cell_count are present #538

Closed catalamarti closed 2 weeks ago

catalamarti commented 2 weeks ago
res1 <- visOmopResults::mockSummarisedResult() |> 
  dplyr::mutate(group_name = "cohort_name_comparator") |> 
  omopgenerics::suppress()
res0 <- visOmopResults::mockSummarisedResult()
omopgenerics::bind(res1, res0) |> 
  omopgenerics::suppress()
#> Error in if (prevSupp > minCellCount) {: the condition has length > 1

Created on 2024-10-16 with reprex v2.1.1