loadSpataObject.Rd
Reads an .RDS file, checks if it is an object of class SPATA2
and checks whether it must be updated.
loadSpataObject(directory_spata, verbose = TRUE, update = TRUE)
Character value. The directory from which to load the SPATA2
object.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
Logical value. If TRUE
, calls updateSpataObject()
after loading to check whether
the loaded object is up to date.
The loaded object. If not of class SPATA2
, a warning is printed.
loadSpataObject()
is a wrapper around base::readRDS()
with which
you could load your SPATA2
object as well.