Learn R Programming

FastUtils (version 0.2.1)

warningp: Custom Warning Function Without Call

Description

This function provides a wrapper around the base warning function, adding flexibility to warnings by setting call. to FALSE automatically. This modification means that the function call is not included in the warning message, streamlining the output for users.

Usage

warningp(...)

Value

No return value, this function issues a warning.

Arguments

...

Arguments passed on to warning.

See Also

Examples

Run this code
# \donttest{
try(warningp(
    "This is a custom warning message without the call."
), silent = TRUE)
# }

Run the code above in your browser using DataLab