Recompile the Stan model inside a brmsfit object, if necessary.
This does not change the model, it simply recreates the executable
so that sampling is possible again.
recompile_model(x, recompile = NULL)An object of class brmsfit.
Logical, indicating whether the Stan model should be
recompiled. If NULL (the default), recompile_model tries
to figure out internally, if recompilation is necessary. Setting it to
FALSE will cause recompile_model to always return the
brmsfit object unchanged.
A (possibly updated) brmsfit object.