mjskay / tidybayes

Bayesian analysis + tidy data + geoms (R package)
http://mjskay.github.io/tidybayes
GNU General Public License v3.0
725 stars 59 forks source link

Error with add_predicted_draws: Error in rsamples[, used_rpars, drop = FALSE] : subscript out of bounds #281

Closed JCruk closed 3 years ago

JCruk commented 3 years ago

I have a brms model where I used cmdstan for the fit and when attempting to generate predicted draws, I get the following error:

Error in rsamples[, used_rpars, drop = FALSE] : subscript out of bounds

Is there an argument I can pass to generated predicted draws?

It looks like this is likely coming from prepare_predictions in brms