Small issue but it just got me into a bit of trouble. When working with terms created with ergm.userterm, functions such as edgecov will fail if custom term names coincidentally have similar names to existing terms in ergm. In my case this was because tergmprepare checks for some existing terms through regex matches (eg. in my case I created a term called twopathedgecov, which produces a match on line 77 of tergmprepare).
Small issue but it just got me into a bit of trouble. When working with terms created with ergm.userterm, functions such as edgecov will fail if custom term names coincidentally have similar names to existing terms in ergm. In my case this was because tergmprepare checks for some existing terms through regex matches (eg. in my case I created a term called twopathedgecov, which produces a match on line 77 of tergmprepare).
I guess a exact regex match might solve this?
All the best ;)
Mario