suppress_scheduled_email: Suppress any scheduled emailing in RStudio Connect

View source: R/connect_email.R

suppress_scheduled_emailR Documentation

Suppress any scheduled emailing in RStudio Connect


This function is useful for suppressing the scheduled emailing of a published R Markdown document. It can be invoked anywhere in the R Markdown document and is useful in a conditional statement, where the result of the condition determines whether or not email suppression should occur.


suppress_scheduled_email(suppress = TRUE)



A logical value for whether email suppression should occur after publication. By default, this is TRUE.


Since this function needs to be invoked within an R Markdown document, the chunk option echo=FALSE is useful here (so that viewers of the rendered document don't have to unnecessarily read code related to email suppression). While the output is invisible, any errors related to the use of this function will be visible to the author.

blastula documentation built on Sept. 24, 2023, 1:07 a.m.