Error with horseshoe priors

I’m running into a fairly confusing issue with brms and horseshoe -priors. Models fit nicely, I can get the basic outputs and summaries, but trying to work with the model object with functions such as loo(), pp_check(), conditional_effects() or tools from emmeans or marginaleffects -packages produce an error:

Error in if (special$name == "horseshoe") { : argument is of length zero

The thing is that the issue doesn’t appear with all models using horseshoe -priors I’m running. I’m quite a bit clueless of what the error actually means and how should I start debugging the whole issue?

1 Like

@paul.buerkner

Can you please provide a minimial reproducible example?