mrc-ide / safir

squire and friends individual rewrite
https://mrc-ide.github.io/safir/
Other
1 stars 2 forks source link

Error running vignette example #34

Closed CaleHarr closed 3 years ago

CaleHarr commented 3 years ago

Hi Team, I'm attempting to run the vignette example 'Vaccine model with multiple doses' Everything is running until I reach the run the simulation step. At that point I get the following error 'Error in vaccinated$not(inplace = TRUE) : unused argument (inplace = TRUE) Timing stopped at: 0.001 0 0.003'.Could you please advise how to fix? Thanks, Cale

slwu89 commented 3 years ago

Hi @CaleHarr, that is probably caused by not having the most recent version of the “individual” package installed (https://github.com/mrc-ide/individual). Please use the version on GitHub (0.1.6), the version from CRAN is outdated, we’ll work on updating it but the GitHub repo will always be the most recent version (and the one safir is built against). Let me know if that doesn’t work!

CaleHarr commented 3 years ago

Hi @slwu89 , this was indeed the issue. Thanks so much for the prompt response!