Learn R Programming

truthiness (version 1.2.5)

warn: Warn About Simulated Data

Description

Check whether the data in subdir is simulated data and generate a warning to include in an R Markdown document.

Usage

warn(subdir)

Arguments

subdir

Subdirectory with the anonymized data.

Value

A character vector containing a warning about simulated data, which is wrapped in HTML <div> tags for inclusion in the HTML document output by preprocess_simulated.