error: Stop code and produce an error message

View source: R/error.R

errorR Documentation

Stop code and produce an error message

Description

Stops the code and produces an error message, like the stop() function of the base library, but terminating a timer started with tick, if running.

Usage

error(...)

Arguments

...

zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object.

Value

None. geterrmessage() returns the last error message, as a character string.

Author(s)

Danail Obreschkow

See Also

tick tock progress


cooltools documentation built on Aug. 8, 2025, 7:17 p.m.