Closed jamesrrae closed 5 years ago
Thanks for the report!
It looks like you're using the dev version of tidyr. median_qi
uses tidyr::unnest
internally and it seems there are some API changes for unnest
in the dev version of tidyr
. It looks like it's still giving you the correct output, just with a deprecation warning.
I'll make sure to update tidybayes
usage of unnest
before the dev version of tidyr
hits CRAN.
That did the trick! Just wanted to make sure I was understanding the source of the warning.
Great, glad to hear it!
I'm going to leave this open so I remember to revisit it to make sure I address the warnings before the dev version of tidyr hits CRAN.
This is now fixed on 460334d363118bc41097f3044788c20d22d21ffd
I will release the fixed version onto CRAN shortly after the new tidyr hits CRAN, which I think is supposed to be soon
I'm getting some unusual warnings when using point_interval. For example, this code throws a warning:
data.frame(x = rnorm(1000)) %>% median_qi(x, .width = c(.50, .80, .95))
I do get the correct result but I also get a warning:
However, I don't get the same error message when trying other examples:
data.frame( x = rnorm(1000), y = rnorm(1000, mean = 2, sd = 2) ) %>% median_qi(x, y)
I'd like to understand why I'm getting different results. Here is my session info: