my.warning: Custom Warning.

View source: R/errors.R

my.warningR Documentation

Custom Warning.

Description

Creates a warning with a custom class.

Usage

my.warning(subclass, message, call = sys.call(-1), ...)

Arguments

subclass

String giving the specific type of error.

message

Message to be displayed to the user.

call

Environment where the error ocurred.

...

Other arguments to the condition function.

Value

Generates a custom warning.


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.