assert: Check class of an object

View source: R/assert.r

assertR Documentation

Check class of an object

Description

Meant to not be run interactively, but added to code without adding depenencies, and so is not exported.

Usage

assert(x, y)

Arguments

x

object. Object whose class is assessed.

y

character vector. Expected classes of x.


MiguelRodo/alwaysloaded documentation built on Nov. 7, 2023, 5:18 p.m.