ergm-errors | R Documentation |
ergm
initializersThese 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.
ergm_Init_abort(..., default.loc = NULL, call = NULL)
ergm_Init_stop(..., call. = FALSE, default.loc = NULL)
ergm_Init_warn(..., default.loc = NULL)
ergm_Init_warning(..., call. = FALSE, default.loc = NULL)
ergm_Init_inform(..., default.loc = NULL)
ergm_Init_message(..., default.loc = NULL)
ergm_Init_try(expr)
... |
Objects that can be coerced (via |
default.loc |
Optional name for the source of the error, to be used if an initializer cannot be autodetected. |
call. , call |
See |
expr |
Expression to be evaluated (in the caller's environment). |
ergm_Init_try()
: A helper function that evaluates the
specified expression in the caller's environment, passing any
errors to ergm_Init_stop()
.
At this time, the rlang analogues
ergm_Init_stop()
, ergm_Init_warning()
, and ergm_Init_message()
all concatenate their arguments like their base R
counterparts. This may change in the future, and if you wish to
retain their old behavior, please switch to their base R
analogues ergm_Init_stop()
, ergm_Init_warning()
, and
ergm_Init_message()
.
stop()
, abort()
warning()
, warn()
message()
, inform()
try()
, tryCatch()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.