Assert that a given object is a
Additionally can sync the registry, check if it is writeable, or check if jobs are running.
If any check fails, throws an error indicting the reason for the failure.
class = NULL,
writeable = FALSE,
sync = FALSE,
running.ok = TRUE
The object asserted to be a
reg must only inherit from class “Registry”.
Otherwise check that
reg is of class
E.g., if set to “Registry”, a
ExperimentRegistry would not pass.
Check if the registry is writeable.
Try to synchronize the registry by including pending results from the file system.
FALSE throw an error if jobs associated with the registry are currently running.