-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Milestone
Description
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] 107374182400The 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
- Improve documentation to clarify that this is a no-no.
- Give examples how to temporarily set in function.
- Investigate if this can be protected against automatically.
- Investigate if this can be detected in revdep checks.
- Manually scan CRAN for cases and report to package maintainers, e.g.
-
future.globals.maxSize: https://github.com/search?q=org%3Acran%20future.globals.maxSize+language%3Ar&type=code -
future.rng.onMisuse: https://github.com/search?q=org%3Acran+future.rng.onMisuse+language%3Ar&type=code - I've contacted all "affected" CRAN package maintainers (by GitHub or email) [2024-02-29]
-
CRAN packages
- Please do not change future options martonkolossvary/parseRPDR#1
- Please do not change future options monty-se/PINstimation#6
- Please do not change future options holgstr/fmeffects#11
- nebula 1.5.3 (2024-02-15) Please do not change future options lhe17/nebula#44
- steps 1.3.0 (2022-10-04) Please do not change future options steps-dev/steps#37
- Please do not change future options paolo-vergo/conformal-multi#2
- Please do not change the future plan paolo-vergo/conformal-multi#3
- https://github.com/cran/mplusParallel.automation/blob/908686530cc7ae3601cd213e6202a6a6d7bfbf22/R/mplusParallel_automation.R#L529
Metadata
Metadata
Assignees
Labels
No labels