Closed monovich closed 1 year ago
Thanks for reporting this, @monovich.
I am going to check this quickly and will respond to you as soon as possible.
Best regards,
Hyun-Hwan Jeong
Sorry, and it has been a while. Have you had any chance to use the package? If so, are you still having the problem?
Hyun-Hwan Jeong
R 4.1 has a nasty bug involving the
parallel
package that seems to have been giving meCluster setup failed. 31 of 31 workers failed to connect.
errors whenever I attempt to runrun_sgrna_quant
without first executingparallel:::setDefaultClusterOptions(setup_strategy = "sequential")
. This fix however makes execution speed untenably slow, so I've had to abandon R 4.1 altogether for this package and am now running CB2 in a singularity container with a prior R version.Somewhat related, you may want to investigate replacing the
parallel
dependency withparallely
orBiocParallel
. Some of theparallel
functions used in CB2 (i.e.detectCores
) are now deprecated, but have replacements inparallely
andBiocParallel
.Edit: For anyone who is having trouble running CB2 on R 4.1, but doesn't want to mess with rolling back to a prior version, this Singularity environment works well: