Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
There is no need to do it in MulticoreParam as it will simply fork your master process and therefore inherit your global setting. I think the warning you get is due to a bug in RStudio, I hope they can fix it but it might not be that fast... Best, Jiefei On Mon, Oct 25, 2021 at 8:16 PM Giulia

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Giulia Pais
Sorry, my bad, I actually changed the code but for it work properly it is mandatory to rebuild the package completely (not only loading it through devtools). It seems to work for 1 function, I'll change the option export global in all the code and rebuild it and see if it works. Do you know if

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
I do not see it from the build report here: http://bioconductor.org/checkResults/devel/bioc-LATEST/ISAnalytics/riesling1-checksrc.html Can you please provide a reproducible example? It can be very helpful to locate the issue On Mon, Oct 25, 2021 at 7:53 PM Giulia Pais wrote: > > I mean that

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Giulia Pais
I mean that trying to modify the code of one of the functions that raises errors and setting the option "exportglobals = TRUE" on SnowParam, somehow it still fails and says it doesn't find the function "mandatory_is_vars()" which is a function exported by the package On 10/25/21, 13:49,

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
What do you mean by "exported functions are invisible to SnowParam workers"? Please provide more details. If you call 'bplapply' with a function from your package, it should be visible to the worker. ___ Bioc-devel@r-project.org mailing list

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Giulia Pais
I tried that also on other functions but it seems also exported functions are invisible to SnowParam workers. That is really odd since it worked just fine before. For now since we're approaching the deadline for the new Bioc release we may opt to switch everything to MulticoreParam despite

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
Hi Giulia, One of your errors is raised from L1288 in the file "analysis-functions.R" if (getOption("ISAnalytics.verbose") == TRUE) { ... } The error message is "argument is of length zero". Usually, this means something is wrong with the global option. Then I see at L4812 in