assertions: Generate character vector of assertions for a given object

View source: R/exemplar.R

assertionsR Documentation

Generate character vector of assertions for a given object

Description

Generate character vector of assertions for a given object

Usage

assertions(x, data_name, ...)

Arguments

x

The object for which to generate assertions.

data_name

Name of data object to validate, as it would be called in the interior of the function. This defaults to "data", but it may make sense to use other names for individual assertions, eg. "data$column".

...

Arguments passed to class-specific functions.


mdneuzerling/exemplar documentation built on Jan. 13, 2024, 1:46 a.m.