Skip to content

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

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();

ecores <- future::availableCores()
if (!is.numeric(ecores)) ecores <- 1

BTW, you can drop

if (!is.numeric(ecores)) ecores <- 1 

because availableCores() is guaranteed to return a positive integer.

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