Even less dependencies?

オープン
#374 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
r
領域
tooling

調査の方向性

globals、listenv、digest について記述されている依存関係の役割を確認し、続いて依存関係のない future.api パッケージが実現可能かどうかを検討してください。この issue にはファイルもテストも記載されておらず、決定済みの実装も記録されていないため、作業を開始する前に完了基準をメンテナーと確立する必要があります。

索引モデルが issue の本文から書いたものです。

説明

One of the many great ideas of the future package is that it tries to be as lightweight as possible, and provide only the minimal toolset which implements the Future API.

Currently, the package imports the following packages:

  • globals (imports 'codetools'): to identify global variables
  • listenv (no deps): to have environments with numeric indexing (plus internal utilities)
  • digest (no non-base deps): to create UUID-s of objects

The 'globals' package is not absolutely necessary, because the user can define the global variables herself (which is even more robust than using the heuristics of 'globals').
The listenv package does not seem to be absolutely necessary, either.
Hashing the objects seems unavoidable, but 'digest' is probably a bit of on overkill for that purpose. (For example 'fastdigest' is faster and much thinner, but also less actively maintained and tested by thousands of users.)

So taken together, it is probably too late to get rid of those dependencies, but a 'future.api' package could be created which has literally no dependencies outside of base R packages, and provides all crucial building blocks of the Future API.

@HenrikBengtsson, what do you think?

主要言語
R
スター
1k
フォーク
93
平均マージ
2日 4時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

futureverse/future のほかの issue

futureverse/future の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。