{"action":"created","issue":{"url":"https://api.github.com/repos/gforge/Gmisc/issues/16","repository_url":"https://api.github.com/repos/gforge/Gmisc","labels_url":"https://api.github.com/repos/gforge/Gmisc/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/gforge/Gmisc/issues/16/comments","events_url":"https://api.github.com/repos/gforge/Gmisc/issues/16/events","html_url":"https://github.com/gforge/Gmisc/issues/16","id":140760554,"number":16,"title":"getDescriptionstatsBy: use_units = 'name' does not work","user":{"login":"pkoki","id":10827062,"avatar_url":"https://avatars.githubusercontent.com/u/10827062?v=3","gravatar_id":"","url":"https://api.github.com/users/pkoki","html_url":"https://github.com/pkoki","followers_url":"https://api.github.com/users/pkoki/followers","following_url":"https://api.github.com/users/pkoki/following{/other_user}","gists_url":"https://api.github.com/users/pkoki/gists{/gist_id}","starred_url":"https://api.github.com/users/pkoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkoki/subscriptions","organizations_url":"https://api.github.com/users/pkoki/orgs","repos_url":"https://api.github.com/users/pkoki/repos","events_url":"https://api.github.com/users/pkoki/events{/privacy}","received_events_url":"https://api.github.com/users/pkoki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T18:35:30Z","updated_at":"2016-03-15T21:24:15Z","closed_at":"2016-03-15T21:24:15Z","body":"The option use_units = 'name' does not work as documented, probably because of line 467 - \r\n\r\nif(use_units) \r\n\r\nIt should be replaced by something like \r\n\r\nif(isTRUE(use_units))\r\n\r\nsome tests: \r\nuse_units <- TRUE\r\nif(use_units) print('success')\r\nuse_units <- FALSE\r\nif(use_units) print('success')\r\nuse_units <- 'name'\r\nif(use_units) print('success')\r\nif(isTRUE(use_units)) print('success')"},"comment":{"url":"https://api.github.com/repos/gforge/Gmisc/issues/comments/197026063","html_url":"https://github.com/gforge/Gmisc/issues/16#issuecomment-197026063","issue_url":"https://api.github.com/repos/gforge/Gmisc/issues/16","id":197026063,"user":{"login":"gforge","id":2198913,"avatar_url":"https://avatars.githubusercontent.com/u/2198913?v=3","gravatar_id":"","url":"https://api.github.com/users/gforge","html_url":"https://github.com/gforge","followers_url":"https://api.github.com/users/gforge/followers","following_url":"https://api.github.com/users/gforge/following{/other_user}","gists_url":"https://api.github.com/users/gforge/gists{/gist_id}","starred_url":"https://api.github.com/users/gforge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforge/subscriptions","organizations_url":"https://api.github.com/users/gforge/orgs","repos_url":"https://api.github.com/users/gforge/repos","events_url":"https://api.github.com/users/gforge/events{/privacy}","received_events_url":"https://api.github.com/users/gforge/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T21:24:15Z","updated_at":"2016-03-15T21:24:15Z","body":"Thank you. Fixed in the develop branch (v. 1.3.1)"}}