Skip to contents

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.