Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

BUG: future.tests::check(plan = "sequential", tags = "options") tests fail if called more than once

Aperta
#26 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
r
Ambito
testing

Direzione di ricerca

Inizia riproducendo il fallimento due volte in una sessione R interattiva con future.tests::check(plan = "sequential", tags = "options"). Segui il set di test future() - preserve R options e confronta la prima e la seconda esecuzione; il lavoro è completato quando controlli ripetuti vanno a buon fine senza errori.

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

Descrizione

bug

Issue

The future() - preserve R options tests fail in interacive mode, if called more than once.

> results <- future.tests::check(plan = "sequential", tags = "options")
── Settings ─────────────────────────────────────────────────────────────────────────────────────────────
- future.tests version      : 0.5.0
- R_FUTURE_TESTS_ROOT       : 
- Option 'future.tests.root': NULL
- Default test set folder   : /home/hb/R/x86_64-pc-linux-gnu-library/4.2-CBI-gcc9/future.tests/test-db
- Max number of workers     : 2
- Timeout                   : N/A

── Running 2 test sets with plan(sequential) ────────────────────────────────────────────────────────────
ℹ Backend package: future 1.30.0.9014
✔ future() - preserve R options (1 test) (182ms)                                
✔ future() - preserve R options (1 test) (107ms)                                

Number of tests: 2

Duration: 346ms

Results: 0 errors ✔ | 0 timeouts ✔
> results <- future.tests::check(plan = "sequential", tags = "options")
── Settings ─────────────────────────────────────────────────────────────────────────────────────────────
- future.tests version      : 0.5.0
- R_FUTURE_TESTS_ROOT       : 
- Option 'future.tests.root': NULL
- Default test set folder   : /home/hb/R/x86_64-pc-linux-gnu-library/4.2-CBI-gcc9/future.tests/test-db
- Max number of workers     : 2
- Timeout                   : N/A

── Running 2 test sets with plan(sequential) ────────────────────────────────────────────────────────────
ℹ Backend package: future 1.30.0.9014
✖ future() - preserve R options (1 test) (30ms)                                 
  ✖ lazy=FALSE, globals=TRUE, stdout=TRUE
✖ future() - preserve R options (1 test) (10ms)                                 
  ✖ lazy=FALSE, globals=TRUE, stdout=TRUE

Number of tests: 2

Duration: 77ms

Results: 2 errors ✖ | 0 timeouts ✔
Lingua principale
R
Stelle
10
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.tests

Tutte le issue di futureverse/future.tests

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.