library(BatchJobs)
r = makeRegistry("test", file.dir=as.character(sample(10000, 1)), src.dirs = "Blubb")
f = function(x) x^2
batchMap(r, f, 1:20)
submitJobs(r)
where Blubb is a directory in my working directory, containing a random R-script
We see 2 Bugs here:
First, the error on lido is:
Error in getRScripts(dirs) : Directories not found: Blubb
Second:
This error is not transfered into the registry, in the registry these jobs are only labeled as "submitted", they er neither started nor errors, but they should be.
Here is the minimal example:
library(BatchJobs) r = makeRegistry("test", file.dir=as.character(sample(10000, 1)), src.dirs = "Blubb") f = function(x) x^2 batchMap(r, f, 1:20) submitJobs(r)
where Blubb is a directory in my working directory, containing a random R-script
We see 2 Bugs here: First, the error on lido is: Error in getRScripts(dirs) : Directories not found: Blubb Second: This error is not transfered into the registry, in the registry these jobs are only labeled as "submitted", they er neither started nor errors, but they should be.