Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print total duration on completion #73

Closed
jarauh opened this issue Oct 4, 2018 · 5 comments
Closed

Print total duration on completion #73

jarauh opened this issue Oct 4, 2018 · 5 comments

Comments

@jarauh
Copy link

jarauh commented Oct 4, 2018

It would be good if the progress bar could report the total duration. At least, it could make the starting time available publicly. Or there could be a method that provides the running time so far (and the total duration on completion).

@scottkosty
Copy link

Or there could be a method that provides the running time so far (and the total duration on completion).

Indeed, this would be helpful when combined with clear = FALSE. During the actual computation, I want to know :eta. But after the computation is done, I would like to know how long it took. I prefer not to use both :elapsed and :eta.

@gaborcsardi
Copy link
Member

I believe this is possible with the cli package, which we prefer now for progress bars: https://cli.r-lib.org/reference/index.html#progress-bars

@jarauh
Copy link
Author

jarauh commented Nov 6, 2023

Thanks for the pointer to cli, @gaborcsardi. Just for curiosity, who is "we" (in "we prefer" cli)?
Do you consider progress to be deprecated?

@gaborcsardi
Copy link
Member

"we" is the r-lib/tidyverse team. progress is de facto superseded by cli, it will be formally superseded soon. It is not going away, and we'll fix serious bugs, but won't add new features.

@jarauh
Copy link
Author

jarauh commented Nov 6, 2023

Thank you, good to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants