This function is wrapper to update objects construct with a old version of biomod2 to a current one
update_objects(obj, recursive = TRUE)
a biomod2
object you want to update (e.g.
'BIOMOD.formated.data', 'biomod2_model' object)
logical, if TRUE all objects on which updated object is based will be also updated
the updated version of the biomod2 object is return
This function will add/change/delete all object slots that have evolved between 2 versions of the package. If required, objects stored on hard drive will also be updated.