conditionally update glmmTMB object fitted with an old TMB version

Load data from system file, updating glmmTMB objects

up2date(oldfit)

gt_load(fn, verbose = FALSE, mustWork = FALSE)

Arguments

oldfit

a fitted glmmTMB object

fn

partial path to system file (e.g. test_data/foo.rda)

verbose

print names of updated objects?

mustWork

fail if file not found?