EmailExternal: Sends an external email warning about alters

Description Usage Arguments

View source: R/EmailNotifiation.R

Description

Sends an external email warning about alters

Usage

1
2
3
4
5
EmailExternal(results = readRDS(fhi::DashboardFolder("results",
  "outbreaks_alert_external.RDS")),
  alerts = readxl::read_excel(file.path("/etc", "gmailr",
  "emails_sykdomspuls_alert.xlsx")), isTest = TRUE, forceNoOutbreak = FALSE,
  forceYesOutbreak = FALSE)

Arguments

results

Results file.

alerts

Excel file containing the emails.

isTest

Is this a test?

forceNoOutbreak

For testing. Do you want to force a "No outbreak" email?

forceYesOutbreak

For testing. Do you want to force a "Yes outbreak" email?


raubreywhite/dashboards_sykdomspuls documentation built on Nov. 17, 2018, 3:16 p.m.