ergm-errors: Sensible error and warning messages by 'ergm' initializers

Description Usage Arguments Functions See Also

Description

These functions use traceback and pattern matching to find which ergm initializer caused the problem, and prepend this information to the specified message. They are not meant to be used by end-users, but may be useful to developers.

Usage

1
2
3
4
5
6
7
ergm_Init_abort(..., default.loc = NULL)

ergm_Init_warn(..., default.loc = NULL)

ergm_Init_inform(..., default.loc = NULL)

ergm_Init_try(expr)

Arguments

...

Objects that can be coerced (via paste0()) into a character vector, concatenated into the message.

default.loc

Optional name for the source of the error, to be used if an initializer cannot be autodetected.

expr

Expression to be evaluated (in the caller's environment).

Functions

See Also

stop(), abort()

warning(), warn()

message(), inform()

try(), tryCatch()


ergm documentation built on June 21, 2021, 9:07 a.m.