Skip to content

Some R packages change 'future.*' options permanently #708

@HenrikBengtsson

Description

@HenrikBengtsson

Issue

Several CRAN packages changes Futureverse R options, e.g. future.globals.maxSize and future.rng.onMisuse. This may happen when one of their functions are called, or when the package is attached. Not pointing fingers at any particular package, here are a few examples illustrating the problem:

$ R --vanilla --quiet
> getOption("future.globals.maxSize")
NULL

> library(future)
> getOption("future.globals.maxSize")
NULL

> library(parseRPDR)
...

> getOption("future.globals.maxSize")
[1] 107374182400

The problem with doing this is that it overrides whatever settings the R user has decided to use. Also, changing options like future.rng.onMisuse to "ignore" removes the RNG protection in other places.

Tasks

CRAN packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions