RStudio Connect Default Email (Send email after update)

I´m using customized emails using blastula and rstudio connect. The main idea is that when some condition apply the email will be sent and if not the email should be suppressed. For this I´m using blastula::suppress_scheduled_email() :


if(n > 1){
  render_connect_email(input = "connect-example-email.Rmd") %>%
  attach_connect_email(
    subject = "RStudio Connect HTML Email",
    attach_output = FALSE,
    attachments = c("dallas_home_sales.csv", "austin_home_sales.csv")
  )
  
} else {
  
  blastula::suppress_scheduled_email()
  
}

But even if the condition is not met, rstudio connect keeps sending a default email that look like this:

My question is how can I do to avoid rstudio connect to send any type of email even if the condition is not met...

Is a bug introduced in RStudio Connect Version 1.8.6, it has been confirmed to me by RStudio. Their developers are working on a fix.

The fix for the issue you encountered has been released in version 1.8.6.2 found here:
https://rstudio.com/products/connect/download-commercial/

Let us know if you have any further issues.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.