{"action":"closed","issue":{"url":"https://api.github.com/repos/Rdatatable/data.table/issues/1884","repository_url":"https://api.github.com/repos/Rdatatable/data.table","labels_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1884/labels{/name}","comments_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1884/comments","events_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1884/events","html_url":"https://github.com/Rdatatable/data.table/issues/1884","id":183942087,"number":1884,"title":"Question regarding `inrange` ","user":{"login":"DavidArenburg","id":7597389,"avatar_url":"https://avatars.githubusercontent.com/u/7597389?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidArenburg","html_url":"https://github.com/DavidArenburg","followers_url":"https://api.github.com/users/DavidArenburg/followers","following_url":"https://api.github.com/users/DavidArenburg/following{/other_user}","gists_url":"https://api.github.com/users/DavidArenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidArenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidArenburg/subscriptions","organizations_url":"https://api.github.com/users/DavidArenburg/orgs","repos_url":"https://api.github.com/users/DavidArenburg/repos","events_url":"https://api.github.com/users/DavidArenburg/events{/privacy}","received_events_url":"https://api.github.com/users/DavidArenburg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-19T12:00:39Z","updated_at":"2016-10-19T12:14:28Z","closed_at":"2016-10-19T12:14:28Z","body":"Consider this example\r\n\r\n```r\r\ndt <- data.table(Test = c(200, 205), Min = c(100, 120), Max = c(200, 205))\r\ndt[,Test %inrange% c(Min, Max)]\r\n## [1] FALSE FALSE\r\n```\r\nWhy am I getting `FALSE` for both? If I do just \r\n\r\n```r\r\n200 %inrange% c(120, 205)\r\n## [1] TRUE\r\n``` \r\n\r\nI'm getting the desired output. Isn't `inrange` suppose to, and I quote `?inrange`:\r\n\r\n> inrange checks whether each value in x is in between any of the intervals provided in lower,upper.\r\n"}}
{"actor":{"display_login":"DavidArenburg"}}