We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge_samples2()
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
merge_groups()
The text was updated successfully, but these errors were encountered:
Here is a minimal reproducible example of the bug
group <- c(1,1,2,2,3,3) dates <- c(NA, NA, "2020-01-01", "2020-01-01", "2020-01-02", "2020-01-03") %>% lubridate::as_date() speedyseq:::merge_groups( dates, group, unique_or_na ) #> Error: Can't combine `1` <date> and `3` <double>. #> Run `rlang::last_error()` to see where the error occurred.
Sorry, something went wrong.
Strangely, this only seems to create an error in merge_samples2() when group is a vector rather than the name of a column in the sample data
group
No branches or pull requests
The error is occurring in the call to
merge_groups()
and the error suggests it has to do with the date columnsThe text was updated successfully, but these errors were encountered: