Never seeing the first progress message from `cli_progress_along()`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reproducing the issue with cli_progress_along(1:2) and the format shown in the report, then trace the cli_progress_along() entry point and its progress-update timing. Confirm the behavior across both iterations. Done means the first progress message appears for the first iteration and subsequent messages correspond to the current iteration.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
cli_progress_along() seems to be skipping the first iteration, and after 2 seconds, the function outputs the message regarding the first iteration even though it is on the second?
library(cli)
lapply(cli_progress_along(1:2,
format = "Downloading data file {cli::pb_current}"),
function(i) {
Sys.sleep(2)
})
#> Downloading data file 1
#> [[1]]
#> NULL
#>
#> [[2]]
#> NULL
Created on 2024-02-02 with reprex v2.0.2
- Lingua principale
- R
- Stelle
- 726
- Fork
- 94
- Merge medio
- 3h 35m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 r-lib/cli
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
Issue simili
-
documentation pkg infrastructure
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
epiverse-trace/epiparameter#511 ·
-
Stray pipe in eventRemarks Apertafunction:write_dwc
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
jbkunst/highcharter#849 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
r-lib/pkgdepends#485 · 3 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100