Some R packages change 'future.*' options permanently
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- r
- Ambito
- testing-qa
Direzione di ricerca
Inizia esaminando gli esempi dell’issue relativi a future.globals.maxSize e future.rng.onMisuse, insieme alle attività di documentazione completate. Poi verifica se sia possibile implementare una protezione automatica o il rilevamento delle dipendenze inverse; l’issue sarà completata solo quando uno di questi approcci avrà un percorso di implementazione definito e una strategia di verifica.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- 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
- https://github.com/martonkolossvary/parseRPDR/issues/1
- https://github.com/monty-se/PINstimation/issues/6
- https://github.com/holgstr/fmeffects/issues/11
- nebula 1.5.3 (2024-02-15) https://github.com/lhe17/nebula/issues/44
- steps 1.3.0 (2022-10-04) https://github.com/steps-dev/steps/issues/37
- https://github.com/paolo-vergo/conformal-multi/issues/2
- https://github.com/paolo-vergo/conformal-multi/issues/3
- https://github.com/cran/mplusParallel.automation/blob/908686530cc7ae3601cd213e6202a6a6d7bfbf22/R/mplusParallel_automation.R#L529
- Lingua principale
- R
- Stelle
- 1k
- Fork
- 93
- Merge medio
- 2g 4h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di futureverse/future
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
futureverse/future#852 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 35/100
futureverse/future#849 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
futureverse/future#833 ·
-
feature/resources RNG
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
futureverse/future#832 ·
-
RNG
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
futureverse/future#831 · 1 commento ·
Tutte le issue di futureverse/future
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
nf-core/provenancereport#75 ·
-
Typo in Exercise 5.22?Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
garner-code/PsyR#80 ·