Skip to content

Please use parallelly::availableCores() instead of future::availableCores() #280

Description

@HenrikBengtsson

Hello,

future::availableCores() is a re-export of parallelly::availableCores() since 2020. My plan is to eventually remove it from the future package. When you have time, please update your package to use parallelly::availableCores() instead of future::availableCores().

In your case, you can also simplify:

https://github.com/ipeaGIT/gtfs2gps/blob/31a83b4f5b47e2c5fb5da811d2b54603caf5bc9b/R/gtfs2gps.R#L338

to:

 ncores <- parallelly::availableCores(omit = 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions