Even less dependencies?

Aperta
#374 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
r
Ambito
tooling

Direzione di ricerca

Esamina i ruoli delle dipendenze descritti per globals, listenv e digest, quindi verifica se sia realizzabile un pacchetto future.api privo di dipendenze. L’issue non indica file né test e non registra alcuna implementazione decisa; pertanto, i criteri di completamento devono essere stabiliti con il maintainer prima di iniziare il lavoro.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
R
Stelle
1k
Fork
93
Merge medio
2g 4h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di futureverse/future

Tutte le issue di futureverse/future

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.