traitecoevo / plant

Trait-Driven Models of Ecology and Evolution :evergreen_tree:
https://traitecoevo.github.io/plant
54 stars 20 forks source link

Tests failing, likely due to upstream package / infrastructure updates #366

Closed dfalster closed 1 year ago

dfalster commented 1 year ago

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
dfalster commented 1 year ago

These are failing locally for me on 572d2a6783558405dd162e9ab6602a97aa86c54e 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)