Closed ConnorDonegan closed 2 years ago
Ah yup, that should be fixed on the github version but I haven't pushed to cran yet. Can you try:
devtools::install_github("mjskay/tidybayes")
and see if it is fixed? thanks!
Yep, its good. Thanks!
great thanks!
First off, thanks very much for this awesome package.
I just encountered a similar error message when following along with vignette("tidybayes")
:
m %>% spread_draws(condition_mean[condition])
# A tibble: 20,000 × 5
# Groups: condition [5]
condition condition_mean .chain .iteration .draw
<int> <dbl> <int> <int> <int>
1 1 0.264 1 1 1
2 1 0.166 1 2 2
3 1 -0.0398 1 3 3
4 1 0.162 1 4 4
5 1 0.338 1 5 5
6 1 0.267 1 6 6
7 1 0.136 1 7 7
8 1 0.502 1 8 8
9 1 0.146 1 9 9
10 1 0.0132 1 10 10
# … with 19,990 more rows
# ℹ Use `print(n = ...)` to see more rows
Warning message:
`gather_()` was deprecated in tidyr 1.2.0.
ℹ Please use `gather()` instead.
ℹ The deprecated feature was likely used in the tidybayes package.
Please report the issue at <https://github.com/mjskay/tidybayes/issues/new>.
Is this likewise taken care of by grabbing the devel version from GitHub, or should I open a new issue? Thanks!
should be I think --- let me know if you update to the dev version and it isn't fixed
Thanks, but it looks like we still get Warning message: `gather_()` was deprecated in tidyr 1.2.0.
with the dev version, copy-pasting the ABC
example verbatim up to m %>% spread_draws(condition_mean[condition])
.
Weird, all calls to gather_ should be gone. Can you run devtools::install_github("mjskay/tidybayes")
, restart your R session, and check? If that doesn't work, can you share the output of sessionInfo()
? Thanks!
That did the trick! Sorry, I must have not done the devtools
step properly the previous time. Thanks for your help, this package, and your responsiveness!
You're welcome, glad it worked!
Hi,
When I use
tidybayes::gather_draws
I get a warning from tidyr:Will
gather_draws
be updated for this?I ask because I'm using
gather_draws
inside a function in the surveil package.Thanks
Example:
returns: