Skip to content

Drop dependency on legacy package 'snow' #18

Description

@HenrikBengtsson

Hello, the snow package is superseded by the built-in parallel package since R 2.14.0 (2011). You package is one of 23 that suggests snow.

You can easily drop that direct dependency by using the corresponding parallel functions by moving to use:

cl <- parallel::makeCluster(threads)
...
parallel::stopCluster(cl)

An advantage to make this move is that parallel sets up parallel workers much faster than snow, cf. https://www.jottr.org/2021/06/10/parallelly-1.26.0/ and Bioconductor/BiocParallel#231

I've created PR #17 fixing this.

PS. Yes, you're also depending on doSNOW, so you still have an indirect dependency on snow, but that's a different topic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions