validate: Generic validation method

View source: R/validate.R

validateR Documentation

Generic validation method

Description

This function is used to perform assertions that an object conforms to its expected structure and no basic assumptions have been violated. Will throw an error if checks do not pass.

Usage

validate(x, ...)

Arguments

x

object to be validated.

...

additional arguments to pass to the specific validation method.

Value

Called for its side effect of validating x. Throws an error if any check fails; otherwise returns invisibly (the exact value depends on the method, typically invisible(TRUE) or invisible(NULL)).


rbmi documentation built on July 23, 2026, 1:08 a.m.