epinowcast / epidist

An R package for estimating epidemiological delay distributions
http://epidist.epinowcast.org/
Other
10 stars 4 forks source link

Report if any invalid Stan syntax is due to custom Stan code or due to `brms` #159

Open athowes opened 2 months ago

athowes commented 2 months ago

In PR #158 we added checking of the Stan code syntax being valid for three models. It would be nice if in the case of invalid syntax, the tests could report whether the offending code was due to custom passed in code, or due to brms. Perhaps we could test the output of epidist_stancode in some way to do this.

athowes commented 2 months ago

If we add a base brms model version to the package (e.g. Sam suggestion in #190) then we could more easily do this.