Skip to contents

emailed report of predictions from contributions_model

Usage

contributions_model_report

# S3 method for class 'contributions_model_report'
read(report, ...)

# S3 method for class 'contributions_model_report'
process(report, ...)

# S3 method for class 'contributions_model_report'
output(
  report,
  subject = paste("Contributions model", Sys.Date()),
  body = paste("Sent by", Sys.info()["nodename"]),
  emails = config::get("tessiflow.email"),
  ...
)

Format

An object of class contributions_model_report (inherits from report, list) of length 0.

Arguments

report

contributions_model_report object

...

not used

subject

character subject of the email

body

html of message or a list containing sendmailR::mime_part objects.

emails

email addresses (first will be sender)

Methods (by generic)

  • read(contributions_model_report): Read data for contributions_model_report

  • process(contributions_model_report): Process data for contributions_model_report

  • output(contributions_model_report): Send spreadsheet for contributions_model_report