[Rd] Extending suggestion for stopifnot

Geoff Jentry geoffjentry at hexdump.org
Wed Aug 21 15:56:20 CEST 2013

> first, I think it would be more useful if it had an optional character
> string, so users could write
>  stopifnot( is.matrix(m), "m is not a matrix" )

stop() allows for arbitrary strings ....

More information about the R-devel mailing list