{"action":"opened","issue":{"url":"https://api.github.com/repos/rdpeng/queue/issues/2","repository_url":"https://api.github.com/repos/rdpeng/queue","labels_url":"https://api.github.com/repos/rdpeng/queue/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rdpeng/queue/issues/2/comments","events_url":"https://api.github.com/repos/rdpeng/queue/issues/2/events","html_url":"https://github.com/rdpeng/queue/issues/2","id":366908802,"node_id":"MDU6SXNzdWUzNjY5MDg4MDI=","number":2,"title":"Problem with printmessage function","user":{"login":"rdpeng","id":9612,"node_id":"MDQ6VXNlcjk2MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9612?v=4","gravatar_id":"","url":"https://api.github.com/users/rdpeng","html_url":"https://github.com/rdpeng","followers_url":"https://api.github.com/users/rdpeng/followers","following_url":"https://api.github.com/users/rdpeng/following{/other_user}","gists_url":"https://api.github.com/users/rdpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/rdpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdpeng/subscriptions","organizations_url":"https://api.github.com/users/rdpeng/orgs","repos_url":"https://api.github.com/users/rdpeng/repos","events_url":"https://api.github.com/users/rdpeng/events{/privacy}","received_events_url":"https://api.github.com/users/rdpeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T18:11:40Z","updated_at":"2018-10-04T18:11:40Z","closed_at":null,"author_association":"OWNER","body":"``` r\r\nprintmessage <- function(x) {\r\n        if(x > 0)\r\n                print(\"x is greater than zero\")\r\n        else \r\n                print(\"x is less than or equal to zero\")\r\n        invisible(x)\r\n}\r\nprintmessage(NA)\r\n#> Error in if (x > 0) print(\"x is greater than zero\") else print(\"x is less than or equal to zero\"): missing value where TRUE/FALSE needed\r\n```\r\n\r\n<sup>Created on 2018-10-04 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)</sup>"}}
{"actor":{"display_login":"rdpeng"}}