Jiefei-Wang / SharedObject

Sharing R objects across multiple R processes without duplicating the object in memory
45 stars 3 forks source link

test fails on malbec1 #10

Open fedeago opened 3 years ago

fedeago commented 3 years ago

Hi,

the test of my package always fails when runned on bioconductor system malbec1 for some problem related to sharedObject. I am not able to reproduce that on my system.

http://bioconductor.org/checkResults/release/bioc-LATEST/NewWave/malbec1-checksrc.html

Do you have any idea why it happens? it is not a big deal for me, I can disable my test in order to build the package but being the current release of bioconductor I hope it could be useful to you.

Regards Federico

Jiefei-Wang commented 3 years ago

Hi @fedeago,

Thanks for letting me know, this is a known issue with the SharedObject package. The error means the shared data has been deleted. I've tried to locate the problem many times, but it is not reproducible even on malbec1. It looks like a malbec1 testing script specific problem. My guess is that something like a cleanup program in the malbec1 cleans shared memory regularly, so the shared object fails to find its data. While this might be able to be fixed in the future, you can just disable the test on Linux to avoid the error. I have added many safety guards in the package, so R would not crash and the data would not be lost when it really happens. The object is just not exportable...

Best, Jiefei