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

Description

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.

Usage

suppress_scheduled_email(suppress = TRUE)

Arguments

suppress

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

Details

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 May 29, 2024, 4:22 a.m.