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

Description Usage Arguments

View source: R/restorepoint.R

Description

Can be used for checking for errors in functions

Usage

1
assert(cond)

Arguments

cond

a condition that is checked


skranz/restorepoint documentation built on March 21, 2021, 3:35 a.m.