Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ergm-errors

Sensible error and warning messages by ergm initializers


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

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

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

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

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.

See Also


ergm

Fit, Simulate and Diagnose Exponential-Family Models for Networks

v3.11.0
GPL-3 + file LICENSE
Authors
Mark S. Handcock [aut], David R. Hunter [aut], Carter T. Butts [aut], Steven M. Goodreau [aut], Pavel N. Krivitsky [aut, cre] (<https://orcid.org/0000-0002-9101-3362>), Martina Morris [aut], Li Wang [ctb], Kirk Li [ctb], Skye Bender-deMoll [ctb], Chad Klumb [ctb], Michał Bojanowski [ctb], Ben Bolker [ctb]
Initial release
2020-10-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.