wrong_class_error: Assert class

View source: R/utils.R

wrong_class_errorR Documentation

Assert class

Description

Function assertion that verifies the class of an object

Usage

wrong_class_error(value, expected_class, name, null = FALSE)

Arguments

value

The object

expected_class

A character vector of potential classes

name

The name of the object

null

Logical, identifying if the object can be null


Crunch-io/crunchtabs documentation built on Jan. 31, 2023, 12:14 p.m.