View source: R/emailNotifier.R
email notification system for LC-MS analyses
1 2 3 | emailNotifier(rawDir = NULL, emailAddress = NULL, emailTime = 10,
maxTime = 60, mailControl = list(smtpServer = "ASPMX.L.GOOGLE.COM"),
minFiles = 5, nMad = 3)
|
rawDir |
character full path name of raw data directory into which raw data will eventually/ has already been started to be written. |
emailAddress |
character vector email address(es) from and to which to send warning email
that run may have stopped. (if not supplied then email notification will not be sent)
see |
emailTime |
numeric length of time (in minutes) after the last raw data file was written before an email notification will be sent. minimum value is 5 minutes. |
maxTime |
numeric the maximum time before the email notifier process will stop altogether so it does not continue ad infinitum and the eventual return of the cosmos to a state of maximum entropy (default = 60 mins). |
mailControl |
List of SMTP server settings see |
minFiles |
integer the minimum number of files that must be collected before the median absolute deviation is calculated (default = 5). |
nMad |
numeric the number of median absolute deviations smaller a file must be for an email warning to be sent (default = 3). Reducing this value may make it more sensitive to subtle reductions in file size but increase the risk of false positive warning email messages. Utilizes the base function mad in the stats package. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.