health_check {epitweetr} | R Documentation |
It validates if epitweetr is not collecting tweets, aggregating tweets or not calculating alerts
health_check(send_mail = TRUE, one_per_day = TRUE)
send_mail |
Boolean. Whether an email should be sent to the defined administrator , default: TRUE |
one_per_day |
Boolean. Whether a limit of one email per day will be applied, default: TRUE |
This function sends an email to the defined administrator if epitweetr is not collecting tweets, aggregating tweets or not calculating alerts
A list of health check errors found
if(FALSE){ #importing epitweer library(epitweetr) message('Please choose the epitweetr data directory') setup_config(file.choose()) #sending the email to the administrator if epitweetr components are not properly working health_check() }