traitecoevo/plant

Tests failing, likely due to upstream package / infrastructure updates

Closed this issue · 1 comments

Some tests have started failing where they weren't previously, eg.

✖ | 2     173 | IndividualRunner [0.7s]                                                                                
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Failure (test-individual-runner.R:131:5): grow_individual_to_size
all(obj$time > res$t0) is not TRUE

`actual`:   FALSE
`expected`: TRUE 

Failure (test-individual-runner.R:134:5): grow_individual_to_size
all(obj$state[, j1] > res$y0[, j1]) is not TRUE

`actual`:   FALSE
`expected`: TRUE 

and

✖ | 1      36 | Lorenz (basic ODE)                                                                                     
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Failure (test-lorenz.R:40:3): Basic Lorenz object works
lo$ode_rates not identical to derivs_lorenz(y2, pars).
Objects equal but not identical

These are failing locally for me on 572d2a6 and dc6f118, both of which passed when run in GitHub Actions some time back (see https://github.com/traitecoevo/plant/actions/runs/3057454370 https://github.com/traitecoevo/plant/actions/runs/3465578566)