Skip to contents

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

Examples

# \donttest{
try(stopp("This is a custom stop message without the call."), silent = TRUE)
# }