erreur: issues an error message and concludes accordingly

Description Usage Arguments Value Examples

View source: R/rbsa0.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 monitor$fat$v is true.

Usage

1
2
 
  erreur(x,...,w=FALSE,monitor=rbsa0$monitor$v) 

Arguments

x

object to be printed before the message. When void9(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

monitor

List of monitoring constants, see rbsa0$monitor to know its structure.

Value

nothing is returned

Examples

1
2
3
4
 
  erreur(matrix(1:4,2),"This matrix is not symmetric",w=TRUE) 
  erreur("Are you sure of it?",w=TRUE); 
   

rbsa documentation built on May 2, 2019, 6:07 p.m.