{"action":"created","issue":{"url":"https://api.github.com/repos/mhahsler/arules/issues/16","repository_url":"https://api.github.com/repos/mhahsler/arules","labels_url":"https://api.github.com/repos/mhahsler/arules/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/mhahsler/arules/issues/16/comments","events_url":"https://api.github.com/repos/mhahsler/arules/issues/16/events","html_url":"https://github.com/mhahsler/arules/issues/16","id":177824283,"number":16,"title":"Unable to use '%pin%' on 'lhs'","user":{"login":"gdbassett","id":1392552,"avatar_url":"https://avatars.githubusercontent.com/u/1392552?v=3","gravatar_id":"","url":"https://api.github.com/users/gdbassett","html_url":"https://github.com/gdbassett","followers_url":"https://api.github.com/users/gdbassett/followers","following_url":"https://api.github.com/users/gdbassett/following{/other_user}","gists_url":"https://api.github.com/users/gdbassett/gists{/gist_id}","starred_url":"https://api.github.com/users/gdbassett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdbassett/subscriptions","organizations_url":"https://api.github.com/users/gdbassett/orgs","repos_url":"https://api.github.com/users/gdbassett/repos","events_url":"https://api.github.com/users/gdbassett/events{/privacy}","received_events_url":"https://api.github.com/users/gdbassett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mhahsler/arules/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-19T15:57:21Z","updated_at":"2016-09-21T14:25:14Z","closed_at":"2016-09-19T18:25:58Z","body":"After running:\r\n```\r\n      rules <- df %>%\r\n               apriori(appearance = list(lhs = c(x), default=\"rhs\"), \r\n                       parameter=list(support=0.0, confidence=0.25))\r\n```\r\nWhen running the following line:\r\n`rules <- subset(rules, subset = (lhs %pin% as.character(x)) & lift > 1)`\r\nI receive the error:\r\n`\"unable to find an inherited method for function '%pin%' for signature '\"standardGeneric\", \"character\"'\"`\r\nI believe the 'standardGeneric is the 'lhs' portion and the portion causing the error.  x is just a column name.\r\n\r\nThis is with version 1.4-2.  I don't believe I received the error on version 1.4-1."},"comment":{"url":"https://api.github.com/repos/mhahsler/arules/issues/comments/248628396","html_url":"https://github.com/mhahsler/arules/issues/16#issuecomment-248628396","issue_url":"https://api.github.com/repos/mhahsler/arules/issues/16","id":248628396,"user":{"login":"mhahsler","id":14900595,"avatar_url":"https://avatars.githubusercontent.com/u/14900595?v=3","gravatar_id":"","url":"https://api.github.com/users/mhahsler","html_url":"https://github.com/mhahsler","followers_url":"https://api.github.com/users/mhahsler/followers","following_url":"https://api.github.com/users/mhahsler/following{/other_user}","gists_url":"https://api.github.com/users/mhahsler/gists{/gist_id}","starred_url":"https://api.github.com/users/mhahsler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhahsler/subscriptions","organizations_url":"https://api.github.com/users/mhahsler/orgs","repos_url":"https://api.github.com/users/mhahsler/repos","events_url":"https://api.github.com/users/mhahsler/events{/privacy}","received_events_url":"https://api.github.com/users/mhahsler/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T14:25:14Z","updated_at":"2016-09-21T14:25:14Z","body":"This is strange. Does everything also look ok if you say inspect(rules)?"}}
{"actor":{"display_login":"mhahsler"}}