Brms sampling

Hello everyone!

I am new here so I am sorry if this should be in a different section. I just wanted to ask if there is a way to get alerts while sampling from a model, such as number of divergences.
I am asking cause I am having some problems with the model calibration and it takes really long every time I re-run.

I believe ezStan (https://github.com/mike-lawrence/ezStan) would be your friend. It does not work with brms out of the box, but you can use calls like make_stancode and make_standata to convert brms models to regular stan models that can be run with ezStan.

Hope that helps.