erreur: issues an error message and concludes accordingly

Description Usage Arguments Value Examples

View source: R/f0.rbsb1.code.r

Description

when called this function prints x, then displays a message before stopping the process except if it is a warning or if the general constant rbsb.mfa is true.

Usage

1
erreur(x, ..., w=FALSE)

Arguments

x

object to be printed before the message. When isempty(x) nothing is printed. When it is a list, all components of the list are successively printed.

...

pieces of message to display after pasting

w

Indicates if it is a simple warning

Value

nothing is returned

Examples

1
2
3
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 erreur(matrix(1:4, 2), "This matrix is not symmetric", w=TRUE)
 erreur("Are you sure of it?", w=TRUE);

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to erreur in rbsb...