Some R packages change 'future.*' options permanently
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- r
- 領域
- testing-qa
調査の方向性
まず、future.globals.maxSize と future.rng.onMisuse に関する issue の例と、完了済みのドキュメント作業を確認してください。次に、自動保護または逆依存関係の検出が実現可能かを調査してください。いずれかのアプローチについて、実装方針と検証戦略が定義されて初めて issue は完了となります。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- R
- スター
- 1k
- フォーク
- 93
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
futureverse/future のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
futureverse/future#852 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
futureverse/future#849 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
futureverse/future#833 ·
-
feature/resources RNG
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
futureverse/future#832 ·
-
RNG
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
futureverse/future#831 · コメント 1 件 ·
futureverse/future の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
nf-core/provenancereport#75 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
garner-code/PsyR#80 ·