{"action":"created","issue":{"url":"https://api.github.com/repos/r-lib/lobstr/issues/11","repository_url":"https://api.github.com/repos/r-lib/lobstr","labels_url":"https://api.github.com/repos/r-lib/lobstr/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/r-lib/lobstr/issues/11/comments","events_url":"https://api.github.com/repos/r-lib/lobstr/issues/11/events","html_url":"https://github.com/r-lib/lobstr/issues/11","id":303086578,"number":11,"title":"Determine why size of S4 objects is different","user":{"login":"hadley","id":4196,"avatar_url":"https://avatars3.githubusercontent.com/u/4196?v=4","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-07T12:52:35Z","updated_at":"2018-03-08T13:27:04Z","closed_at":null,"author_association":"OWNER","body":"```R\r\ntest_that(\"size of S4 objects same as base\", {\r\n  \r\n  Z <- methods::setClass(\"Z\", slots = c(x = \"integer\"))\r\n  z <- Z(x = 1L)\r\n  \r\n  expect_same(z)\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/r-lib/lobstr/issues/comments/371485994","html_url":"https://github.com/r-lib/lobstr/issues/11#issuecomment-371485994","issue_url":"https://api.github.com/repos/r-lib/lobstr/issues/11","id":371485994,"user":{"login":"hadley","id":4196,"avatar_url":"https://avatars3.githubusercontent.com/u/4196?v=4","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T13:27:04Z","updated_at":"2018-03-08T13:27:04Z","author_association":"OWNER","body":"* Off by 24 bytes (= 3 * 8)\r\n\r\n* Base R code breaks down S4SXP in same way as me: https://github.com/wch/r-source/blob/master/src/library/utils/src/size.c#L119\r\n\r\n* Doesn't appear to be because an object is referenced twice"}}
{"actor":{"display_login":"hadley"}}