Bioconductor / BiocParallel

Bioconductor facilities for parallel evaluation
https://bioconductor.org/packages/BiocParallel
67 stars 29 forks source link

exported entities are destroyed in caller #234

Closed vjcitn closed 1 year ago

vjcitn commented 1 year ago
> chkd = "a"
> chkd
[1] "a"
> bplapply(1:2, function(x) x, BPOPTIONS=bpoptions(exports=c("chkd")))
[[1]]
[1] 1

[[2]]
[1] 2

> chkd
Error: object 'chkd' not found
No suitable frames for recover()

feature or bug?

vjcitn commented 1 year ago

Only with SerialParam()?

vjcitn commented 1 year ago

I don't observe it with SnowParam or MulticoreParam

mtmorgan commented 1 year ago

I vote bug, @Jiefei-Wang ?

Jiefei-Wang commented 1 year ago

Yes, it is. I'll fix it.