stopp {FastUtils}R Documentation

Custom Stop Function Without Call

Description

This function provides a wrapper around the base stop function, but it automatically sets call. to FALSE, which means the function call itself is not included in the resulting error message. This makes error messages cleaner. The domain argument can be used to specify a translation domain.

Usage

stopp(..., domain = NULL)

Arguments

...

Arguments passed on to stop.

domain

The translation domain, NULL by default.

Value

No return value, this function stops execution of the program.

See Also

stop()

Examples


try(stopp("This is a custom stop message without the call."), silent = TRUE)


[Package FastUtils version 0.1.1 Index]