send_email_update: Send email alerts to updated automation reports

View source: R/utils-send-email.R

send_email_updateR Documentation

Send email alerts to updated automation reports

Description

Send email alerts to updated automation reports

Usage

send_email_update(
  to,
  from = "rsconnect@ecohealthalliance.org",
  project_name,
  attach = FALSE,
  test = FALSE,
  path = "outputs",
  pattern = "\\.html"
)

Arguments

to

A vector of email addresses serving as primary recipients for the message.

from

The email address of the sender.

project_name

String. Name of the project to use in email subject and body text.

attach

Logical. Should reports be attached to email? Default is FALSE. If TRUE, all HTML reports found in "outputs" folder will be attached to email.

test

Logical. Is this an email alert for testing automation reports? Default is FALSE. If TRUE, subject includes test and upload path will include the current git branch in the file path (e.g. https://project.secure.eha.io/refs/fix/missing_documentation/file.txt)

path

String. Name of folder or file path for attachment items

pattern

String. Regex pattern to select specific files in path.

Value

Invisible. Update email sent to list of recipients in to

See Also

browseVignettes("blastula")


ecohealthalliance/containerTemplateUtils documentation built on March 31, 2024, 7:46 a.m.