{"action":"created","issue":{"url":"https://api.github.com/repos/statnet/ergm/issues/36","repository_url":"https://api.github.com/repos/statnet/ergm","labels_url":"https://api.github.com/repos/statnet/ergm/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/statnet/ergm/issues/36/comments","events_url":"https://api.github.com/repos/statnet/ergm/issues/36/events","html_url":"https://github.com/statnet/ergm/issues/36","id":380478338,"node_id":"MDU6SXNzdWUzODA0NzgzMzg=","number":36,"title":"Error in estimation with ERGM 3.9.4 and tergm 3.5.2","user":{"login":"dth2","id":10469169,"node_id":"MDQ6VXNlcjEwNDY5MTY5","avatar_url":"https://avatars0.githubusercontent.com/u/10469169?v=4","gravatar_id":"","url":"https://api.github.com/users/dth2","html_url":"https://github.com/dth2","followers_url":"https://api.github.com/users/dth2/followers","following_url":"https://api.github.com/users/dth2/following{/other_user}","gists_url":"https://api.github.com/users/dth2/gists{/gist_id}","starred_url":"https://api.github.com/users/dth2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dth2/subscriptions","organizations_url":"https://api.github.com/users/dth2/orgs","repos_url":"https://api.github.com/users/dth2/repos","events_url":"https://api.github.com/users/dth2/events{/privacy}","received_events_url":"https://api.github.com/users/dth2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-11-14T00:03:14Z","updated_at":"2018-11-26T21:38:44Z","closed_at":null,"author_association":"NONE","body":"I am fitting an ergm and I get the following error:\r\n\r\nError in UseMethod(\"as.edgelist\") : \r\n  no applicable method for 'as.edgelist' applied to an object of class \"NULL\"\r\nError: $ operator is invalid for atomic vectors\r\n\r\nThe formula for the ergm is:\r\n\r\n# Formulas\r\nformation.asmm <- ~edges +\r\n  nodefactor(\"riskg\",base = 3)+\r\n  nodefactor(\"yamsm\", base=1) +\r\n  absdiff(\"sqrt.age\") +\r\n  offset(nodefactor(\"oamsm\",base = 1)) +\r\n  offset(nodematch(\"yamsm\", diff = TRUE, keep = 2)) +\r\n  offset(nodematch(\"role.class\", diff = TRUE, keep = 1:2)) +\r\n  offset(nodefactor(\"debuted\",base=2))\r\n\r\nIf I remove either the nodefactor(\"riskg\", base =3) or the absdiff(\"sqrt.age\") the model will converge.  I can get the model to run as is by reverting to ergm_3.8.0 and tergm_3.4.1\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/statnet/ergm/issues/comments/441808735","html_url":"https://github.com/statnet/ergm/issues/36#issuecomment-441808735","issue_url":"https://api.github.com/repos/statnet/ergm/issues/36","id":441808735,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTgwODczNQ==","user":{"login":"sgoodreau","id":8250754,"node_id":"MDQ6VXNlcjgyNTA3NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8250754?v=4","gravatar_id":"","url":"https://api.github.com/users/sgoodreau","html_url":"https://github.com/sgoodreau","followers_url":"https://api.github.com/users/sgoodreau/followers","following_url":"https://api.github.com/users/sgoodreau/following{/other_user}","gists_url":"https://api.github.com/users/sgoodreau/gists{/gist_id}","starred_url":"https://api.github.com/users/sgoodreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgoodreau/subscriptions","organizations_url":"https://api.github.com/users/sgoodreau/orgs","repos_url":"https://api.github.com/users/sgoodreau/repos","events_url":"https://api.github.com/users/sgoodreau/events{/privacy}","received_events_url":"https://api.github.com/users/sgoodreau/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T21:38:44Z","updated_at":"2018-11-26T21:38:44Z","author_association":"NONE","body":"Ok, I did a fresh install of all of the master versions of the packages, and now it works for me.\r\n\r\nSo, my understanding of where things currently stand is that Deven's code works with the master version of packages, but not with the current CRAN version for everything.  @dth2, is that true for you? \r\n\r\nIf so, then, @krivit, I'm wondering what the plan is for release of master.  Since underlying Deven's code is a fairly vanilla call to ergm, this suggests that there is currently a bug out in the wild in the CRAN version that affects large networks/complex models. Or do you interpret this all differently?\r\n "}}
{"actor":{"display_login":"sgoodreau"}}