ClusterFunctions and are trigged on the following events:
pre.syncfunction(reg, fns, ...): Run before synchronizing the registry on the master. fn is the character vector of paths to the update files.post.syncfunction(reg, updates, ...): Run after synchronizing the registry on the master. updates is the data.table of processed updates.pre.submitfunction(reg, ...): Run before a job is successfully submitted to the scheduler on the master.post.submitfunction(reg, ...): Run after a job is successfully submitted to the scheduler on the master.pre.do.collectionfunction(reg, cache, ...): Run before starting the job collection on the slave. cache is an internal cache object.post.do.collectionfunction(reg, cache, ...): Run before terminating the job on the slave. cache is an internal cache object.runHook(obj, hook, ...)character(1)]
ID of the hook as string.hook.
See description.NULL if there is no hook
with the specified ID.