{"action":"closed","issue":{"url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/187","repository_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign","labels_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/187/comments","events_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/187/events","html_url":"https://github.com/DeclareDesign/DeclareDesign/issues/187","id":326748001,"node_id":"MDU6SXNzdWUzMjY3NDgwMDE=","number":187,"title":"declare_estimator needs better error for missing coefs","user":{"login":"jaspercooper","id":6787409,"node_id":"MDQ6VXNlcjY3ODc0MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/6787409?v=4","gravatar_id":"","url":"https://api.github.com/users/jaspercooper","html_url":"https://github.com/jaspercooper","followers_url":"https://api.github.com/users/jaspercooper/followers","following_url":"https://api.github.com/users/jaspercooper/following{/other_user}","gists_url":"https://api.github.com/users/jaspercooper/gists{/gist_id}","starred_url":"https://api.github.com/users/jaspercooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaspercooper/subscriptions","organizations_url":"https://api.github.com/users/jaspercooper/orgs","repos_url":"https://api.github.com/users/jaspercooper/repos","events_url":"https://api.github.com/users/jaspercooper/events{/privacy}","received_events_url":"https://api.github.com/users/jaspercooper/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/milestones/1","html_url":"https://github.com/DeclareDesign/DeclareDesign/milestone/1","labels_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/milestones/1/labels","id":2722066,"node_id":"MDk6TWlsZXN0b25lMjcyMjA2Ng==","number":1,"title":"CRAN v1 release","description":null,"creator":{"login":"graemeblair","id":3320015,"node_id":"MDQ6VXNlcjMzMjAwMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/3320015?v=4","gravatar_id":"","url":"https://api.github.com/users/graemeblair","html_url":"https://github.com/graemeblair","followers_url":"https://api.github.com/users/graemeblair/followers","following_url":"https://api.github.com/users/graemeblair/following{/other_user}","gists_url":"https://api.github.com/users/graemeblair/gists{/gist_id}","starred_url":"https://api.github.com/users/graemeblair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemeblair/subscriptions","organizations_url":"https://api.github.com/users/graemeblair/orgs","repos_url":"https://api.github.com/users/graemeblair/repos","events_url":"https://api.github.com/users/graemeblair/events{/privacy}","received_events_url":"https://api.github.com/users/graemeblair/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":8,"state":"open","created_at":"2017-08-24T22:30:40Z","updated_at":"2018-06-03T20:38:14Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-05-26T15:54:21Z","updated_at":"2018-06-03T20:38:14Z","closed_at":"2018-06-03T20:38:14Z","author_association":"CONTRIBUTOR","body":"```r\r\ndata <- fabricate(\r\n\tN = 100,\r\n\tY = rbinom(N,1,.5),\r\n\tZ = rbinom(N,1,.5)\r\n)\r\nols <- declare_estimator(Y ~ Z, model = lm_robust, coefficients = \"X\")\r\nols(data)\r\n```\r\ngives:\r\n> Error in data.frame(estimator_label = label, ret, stringsAsFactors = FALSE) :  arguments imply differing number of rows: 1, 0\r\n\r\nParticularly hard to debug when it's in declare_design()\r\n"}}
{"actor":{"display_login":"graemeblair"}}