Model objects created with demo_fit() don't get the acre_tmb class, which means S3 methods aren't correctly applied:
> fit <- demo_fit("ihd")
> class(fit)
[1] "list"
> summary(fit)
Length Class Mode
read_input 4 -none- list
read_output 6 acre_data list
dat_model 5 -none- list
fit 37 acre_tmb list
However everything works fine when the model is fitted with fit.acre() directly:
Model objects created with
demo_fit()
don't get theacre_tmb
class, which means S3 methods aren't correctly applied:However everything works fine when the model is fitted with
fit.acre()
directly: