| detect_loop | R Documentation |
Infinite loop ensuring the daily signal detection and email alerts
detect_loop(data_dir = NA)
data_dir |
Path to the 'data directory' containing application settings, models and collected posts.
If not provided the system will try to reuse the existing one from last session call of |
The detect loop run the recurrent tasks generate_alerts
The loop report progress on the 'tasks.json' file which is read or created by this function.
The recurrent tasks are scheduled to be executed each 'detect span' minutes, which is a parameter set on the Shiny app.
If any of these tasks fails it will be retried three times before going to abort status. Aborted tasks can be relaunched from the Shiny app.
nothing
detect_loop
generate_alerts
get_tasks
## Not run:
#Running the detect loop
library(episomer)
message('Please choose the episomer data directory')
setup_config(file.choose())
detect_loop()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.