{"action":"opened","issue":{"url":"https://api.github.com/repos/wrathematics/pbdDMAT/issues/24","repository_url":"https://api.github.com/repos/wrathematics/pbdDMAT","labels_url":"https://api.github.com/repos/wrathematics/pbdDMAT/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/wrathematics/pbdDMAT/issues/24/comments","events_url":"https://api.github.com/repos/wrathematics/pbdDMAT/issues/24/events","html_url":"https://github.com/wrathematics/pbdDMAT/issues/24","id":160487589,"number":24,"title":"Biting warning created by rbind and is.ddmatrix","user":{"login":"seblamydlc","id":4039427,"avatar_url":"https://avatars.githubusercontent.com/u/4039427?v=3","gravatar_id":"","url":"https://api.github.com/users/seblamydlc","html_url":"https://github.com/seblamydlc","followers_url":"https://api.github.com/users/seblamydlc/followers","following_url":"https://api.github.com/users/seblamydlc/following{/other_user}","gists_url":"https://api.github.com/users/seblamydlc/gists{/gist_id}","starred_url":"https://api.github.com/users/seblamydlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seblamydlc/subscriptions","organizations_url":"https://api.github.com/users/seblamydlc/orgs","repos_url":"https://api.github.com/users/seblamydlc/repos","events_url":"https://api.github.com/users/seblamydlc/events{/privacy}","received_events_url":"https://api.github.com/users/seblamydlc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-15T18:10:19Z","updated_at":"2016-06-15T18:10:19Z","closed_at":null,"body":"Calls to rbind create warnings when the pacakge pbdDMAT is loaded:\r\n\r\n```\r\nlibrary(pbdDMAT)\r\nlibrary(data.table)\r\nrbind(data.table(), data.table())\r\n```\r\n\r\nThis comes from the fact that the rbind function was overridden in pbdDMAT. In pbdDMAT::rbind function there is a is.ddmatrix check. In this function you check if the object is a 'ddmatrix' with the following call:\r\n\r\n`if (class(x) == \"ddmatrix\") \r\n`\r\nThe proper way to check if an object is of a given class is using 'is' (is(obj, class))\r\n\r\nHope this helps,\r\n\r\nThanks,\r\nSébastien"}}
{"actor":{"display_login":"seblamydlc"}}