Skip to content

Please remove incorrect call to future::plan() #20

Description

@HenrikBengtsson

Hello, author of future here. You're using:

QBMS/R/http.R

Lines 1 to 2 in f4b0ce3

# Set the future plan to enable parallel execution
future::plan(future::multisession)

Please note that this is not the correct way and place to set the future plan. It will be called during package installation, but it would be applied when the package is loaded (which I think might have been your train of thought).

Please remove that completely.

FYI, also please don't set the future plan globally by other means. If you really want to set it, do so temporarily, as explained in https://future.futureverse.org/articles/future-7-for-package-developers.html#avoid-changing-the-future-backend.

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