You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently piarwise functions return NULL when only one group to compare. This breaks if using in group_by --> summarize. Could we change to data.frame of NAs instead?
[master] > control_testing_data %>%
+ group_by(day_plot, measurement, sample_type) %>%
+ summarise(pairwise_test_cont(x = magnitude, group = study_grouped),
+ .groups = 'drop')
Error: Problem with `summarise()` input `..1`.
x Input `..1` must be a vector, not NULL.
i Input `..1` is `pairwise_test_cont(x = magnitude, group = study_grouped)`.
i The error occurred in group 1: day_plot = "Day 1", measurement = "sgmRNA", sample_type = "bal".
Run `rlang::last_error()` to see where the error occurred.
[master] > tmp_dat <- control_testing_data %>%
+ filter(day_plot == "Day 1", measurement == "sgmRNA", sample_type == "bal")
[master] > pairwise_test_cont(x = tmp_dat $magnitude, group = tmp_dat $study_grouped)
NULL
The text was updated successfully, but these errors were encountered:
how experimental is this new stacking feature with summarize? What is it actually doing on the backend (i.e., how do you interpret "Input ..1 must be a vector, not NULL.")?
we don't want to break old workflows, I'm guessing we return NULLs because of list stacking. Maybe not the best way to do things, but a different conversation :). The NA data.frame might be fine, but would be nice to experiment with a reprex.
Currently piarwise functions return
NULL
when only one group to compare. This breaks if using ingroup_by
-->summarize
. Could we change to data.frame of NAs instead?The text was updated successfully, but these errors were encountered: