After the recent update to R 3.4.0, updates and installation of several Bioconductor packages return a warning during installation -- specifically, there seems to be an issue in how BiocParallel sets up its core classes:
Warning in is.na(x[[i]]) : is.na() applied to non-(list or vector) of type 'environment' 'BiocParallel' did not register default BiocParallelParams: invalid class “MulticoreParam” object: 1: ‘cluster’, ‘.clusterargs’, ‘.uid’, ‘RNGseed’ must be length 1 invalid class “MulticoreParam” object: 2: ‘.clusterargs’, ‘.controlled’, ‘logdir’, ‘resultdir’ must be length 1
This is returned after running `biocLite(c("scater", "scran", "SC3"))`. The installations seems to complete correctly, but perhaps there is some error that I am missing?
Session Info:
R version 3.4.0 (2017-04-21) Platform: x86_64-apple-darwin16.5.0 (64-bit) Running under: macOS Sierra 10.12.3 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] BiocInstaller_1.24.0 loaded via a namespace (and not attached): [1] compiler_3.4.0 tools_3.4.0
I had the exact same issue today, I cannot run fgsea package anymore.
Here is my session info :
fgsea is loaded, so what says you can't run it? Is it possible to work around the BiocParallel issue by saying
? (there is an outstanding report that that too fails...)
Hi Martin!
You are correct. fgsea loads but I can't use it unless I use serial parameters, not multicore.
Here is what I am getting when trying to register :
My only way around this is so far
Which makes fgsea work for me.
Thanks!
Just thought I'd note here that, at least in my case, updating from Bioconductor 3.4 to 3.5 (with BiocInstaller 1.26.0), and then updating all packages via `biocLite()`, fixed this issue. I had to uninstall and then re-install "BiocInstaller", as noted on the Bioconductor webpage for using the "Devel" version of Bioconductor here:
```
```
I'll update BiocParallel to use a different initialization strategy in the next few days.