This function prints a notification message when some or all of
the data used in a project are synthetic (see
synthetic). See details for important information.
notify_synthetic(..., msg = NULL)
Objects of class
Expression containing the message to print in case not all
The preferred way to use this function is to provide specific data
objects in the function call, using the
If no such objects are provided,
notify_synthetic will scan the
parent environment for objects of class
This function is emphatically designed to be included in an 'R Markdown' file, to dynamically generate a notification message when a third party 'Knits' such a document without having access to all original data.
No return value. This function is called for its side effect of printing a notification message.
closed_data synthetic add_synthetic
df <- iris class(df) <- c("worcs_data", class(df)) attr(df, "type") <- "synthetic" notify_synthetic(df, msg = "synthetic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.