Skip to content

Commit

Permalink
Merge pull request #155 from ljwoodley/include_email_content
Browse files Browse the repository at this point in the history
Include email content
  • Loading branch information
ChemiKyle authored Mar 25, 2024
2 parents 13abced + b3de437 commit 2a0ea1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/logging.R
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,10 @@ send_email <-
email_to <- unlist(strsplit(email_to, " "))
}

email_content <- list(email_body)

if (!is.null(file_name)) {
output_dir <- tempdir()
email_content <- list()

if (!is.null(df_to_email) && is.data.frame(df_to_email)) {
df_to_email <- list(df_to_email)
Expand Down

0 comments on commit 2a0ea1c

Please sign in to comment.