{"action":"created","issue":{"url":"https://api.github.com/repos/adrientaudiere/lottery/issues/2","labels_url":"https://api.github.com/repos/adrientaudiere/lottery/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/adrientaudiere/lottery/issues/2/comments","events_url":"https://api.github.com/repos/adrientaudiere/lottery/issues/2/events","html_url":"https://github.com/adrientaudiere/lottery/issues/2","id":126410489,"number":2,"title":"Readable Code","user":{"login":"Rekyt","id":5593751,"avatar_url":"https://avatars.githubusercontent.com/u/5593751?v=3","gravatar_id":"","url":"https://api.github.com/users/Rekyt","html_url":"https://github.com/Rekyt","followers_url":"https://api.github.com/users/Rekyt/followers","following_url":"https://api.github.com/users/Rekyt/following{/other_user}","gists_url":"https://api.github.com/users/Rekyt/gists{/gist_id}","starred_url":"https://api.github.com/users/Rekyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rekyt/subscriptions","organizations_url":"https://api.github.com/users/Rekyt/orgs","repos_url":"https://api.github.com/users/Rekyt/repos","events_url":"https://api.github.com/users/Rekyt/events{/privacy}","received_events_url":"https://api.github.com/users/Rekyt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pierredenelle","id":15929897,"avatar_url":"https://avatars.githubusercontent.com/u/15929897?v=3","gravatar_id":"","url":"https://api.github.com/users/pierredenelle","html_url":"https://github.com/pierredenelle","followers_url":"https://api.github.com/users/pierredenelle/followers","following_url":"https://api.github.com/users/pierredenelle/following{/other_user}","gists_url":"https://api.github.com/users/pierredenelle/gists{/gist_id}","starred_url":"https://api.github.com/users/pierredenelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierredenelle/subscriptions","organizations_url":"https://api.github.com/users/pierredenelle/orgs","repos_url":"https://api.github.com/users/pierredenelle/repos","events_url":"https://api.github.com/users/pierredenelle/events{/privacy}","received_events_url":"https://api.github.com/users/pierredenelle/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-13T12:41:48Z","updated_at":"2016-01-25T14:14:54Z","closed_at":"2016-01-25T14:14:54Z","body":"Hey @frmunoz @adrientaudiere @pierredenelle, we should clean up commented code in files and add more comment to the rest of the functions to make it more user-friendly.\r\nFor example we still have this section in https://github.com/adrientaudiere/lottery/blob/245939fc105e0bdf8d18232b6e3493a514d3eb40/pkg/R/forward.R  (lines 49-52):\r\n```r\r\n#else if(is.vector(initial)) {\r\n  #  J <- sum(initial)\r\n  #  a <- data.frame(id = paste(\"init\", 1:J, sep = \"\"), sp = unlist(sapply(sp.names, function(x) rep(x, initial[x]))), trait = rep(NA, J), stringsAsFactors = F)\r\n  #}\r\n```\r\n\r\nAnd there is a single comment (!) for `coalesc()` function in https://github.com/adrientaudiere/lottery/blob/245939fc105e0bdf8d18232b6e3493a514d3eb40/pkg/R/coalesc.R\r\n\r\nWe could comment more and drop any commented \"debug code\""},"comment":{"url":"https://api.github.com/repos/adrientaudiere/lottery/issues/comments/174519870","html_url":"https://github.com/adrientaudiere/lottery/issues/2#issuecomment-174519870","issue_url":"https://api.github.com/repos/adrientaudiere/lottery/issues/2","id":174519870,"user":{"login":"Rekyt","id":5593751,"avatar_url":"https://avatars.githubusercontent.com/u/5593751?v=3","gravatar_id":"","url":"https://api.github.com/users/Rekyt","html_url":"https://github.com/Rekyt","followers_url":"https://api.github.com/users/Rekyt/followers","following_url":"https://api.github.com/users/Rekyt/following{/other_user}","gists_url":"https://api.github.com/users/Rekyt/gists{/gist_id}","starred_url":"https://api.github.com/users/Rekyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rekyt/subscriptions","organizations_url":"https://api.github.com/users/Rekyt/orgs","repos_url":"https://api.github.com/users/Rekyt/repos","events_url":"https://api.github.com/users/Rekyt/events{/privacy}","received_events_url":"https://api.github.com/users/Rekyt/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T14:14:54Z","updated_at":"2016-01-25T14:14:54Z","body":"Fixed this with 17f4a1a3941e49bc6c190a375b4700e8360e56cb"}}