Open davidsantiagoquevedo opened 6 months ago
It seems like it's a problem with the inclusion of prob_infected.stan
in the functions{}
chunks of the stan models. This is also done in {EpiNow2}, where the minimum required versions of these packages are rstan v2.26.0
and rstantools v2.2.0
.
@jpavlich is there any way we can check what the minimum versions actually are for serofoi?
I'm not aware of any direct way to find that out. I see two possible alternatives:
It seems 2 is the easiest one :)
@davidsantiagoquevedo Which version of StanHeaders are you using?
After updating rstan
and rstantools
I have 2.32.7. But I didn't take the version I had when the error occurred.
I tested the installation on another machine, and it worked with
> packageVersion("rstan")
[1] ‘2.26.22’
> packageVersion("rstantools")
[1] ‘2.3.1.1’
> packageVersion("StanHeaders")
[1] ‘2.26.27’
This might be a good starting point for the brute-force approach.
I would postpone this issue until we create the new, refactored, serofoi version.
I think we should address this now for the current development version of the pacjage @jpavlich
Please place an "x" in all the boxes that apply
I got the following error when installing
serofoi v 0.1.0
. I haverstan
2.21.8 andrstantools
2.3.1.1. Updating both dependencies to their last versions fixes it. However, the versions in theDESCRIPTION
file are > 2.18.1 and > 2.3.1, respectively.