The check.ErgmTerm function ensures for the InitErgmTerm.X function that the term X:
by halting execution if any of the first 3 criteria are not met.
The ergm.checkargs function ensures for the InitErgm function that the term X:
by halting execution if either of the first 2 criteria are not met
The the ergm.checkdirected function halts execution for the
check.ErgmTerm(nw, arglist, directed = NULL, bipartite = NULL, nonnegative = FALSE, varnames = NULL, vartypes = NULL, defaultvalues = list(), required = NULL, response = NULL)
ergm.checkargs(fname, arglist, varnames=NULL, vartypes=NULL, defaultvalues=list(), required=NULL)
ergm.checkdirected(fname, nw.directedflag, requirement, extramessage="")