-
Notifications
You must be signed in to change notification settings - Fork 75
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
A Shiny app and module to monitor runtime progress. #248
Conversation
cc @rpodcast. You might be interested in this module for your own apps. |
Codecov Report
@@ Coverage Diff @@
## main #248 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 136 136
Lines 4233 4233
=========================================
Hits 4233 4233 Continue to review full report at Codecov.
|
Update: as of tonight, tar_watch() runs in the background by default (can be disabled). So now you can run tar_watch() and then tar_make() in the same R session. |
Hello, |
Awesome, thanks for sharing!
Incidentally, I just posted what I learned about non-blocking Shiny apps: https://wlandau.github.io/posts/2020-12-18-non-blocking-app/ |
Prework
Related GitHub issues and pull requests
Summary
This PR implements
tar_watch()
, a new function to deploy a built-in Shiny app. The app repeatedly callstar_visnetwork()
at regular intervals. Call it in a separate R session to monitor the progress of the pipeline.tar_watch_ui()
andtar_watch_server()
are Shiny modules to help you build this functionality into your own apps that runtargets
pipelines internally.Example