grp <- ps.s %>% sample_data %>% ps_tibble %>%
# transmute(specimen_id:extraction_protocol:center_id) %>%
transmute(specimen_id:extraction_protocol:center_id) %>%
pull(1)
merge_samples2(ps.s, grp)
#> Error: Can't combine `1:1:S1` <date> and `25:1:S1` <double>.
#> Run `rlang::last_error()` to see where the error occurred.
The error is occurring in the call to merge_groups() and the error suggests it has to do with the date columns