suppress_scheduled_email: Suppress any scheduled emailing in RStudio Connect

Description Usage Arguments Details

View source: R/connect_email.R

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

1

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.


rich-iannone/blastula documentation built on Oct. 17, 2020, 8:59 p.m.