Tests a job by running it with Rscript in a new process.
Useful for debugging. Note that neither the registry, database or file directory are changed.
testJob(reg, id, resources = list(), external = TRUE)
reg |
[ |
id |
[ |
resources |
[ |
external |
[ |
[any]. Result of job. If the job did not complete because of an error, NULL is returned.
Other debug: debugMulticore
,
debugSSH
, getErrorMessages
,
getJobInfo
, getLogFiles
,
grepLogs
, killJobs
,
resetJobs
, setJobFunction
,
showLog
reg = makeRegistry(id = "BatchJobsExample", file.dir = tempfile(), seed = 123) f = function(x) if (x==1) stop("oops") else x batchMap(reg, f, 1:2) testJob(reg, 2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.