assert: Checks whether cond holds true if not throws an error

View source: R/restorepoint.R

assertR Documentation

Checks whether cond holds true if not throws an error

Description

Can be used for checking for errors in functions

Usage

assert(cond)

Arguments

cond

a condition that is checked


skranz/restorepoint documentation built on June 30, 2024, 11:13 p.m.