{"action":"closed","issue":{"url":"https://api.github.com/repos/hadley/testthat/issues/301","repository_url":"https://api.github.com/repos/hadley/testthat","labels_url":"https://api.github.com/repos/hadley/testthat/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/hadley/testthat/issues/301/comments","events_url":"https://api.github.com/repos/hadley/testthat/issues/301/events","html_url":"https://github.com/hadley/testthat/issues/301","id":108678003,"number":301,"title":"expect_warning/expect_message needs argument to control matches","user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-28T15:10:23Z","updated_at":"2016-02-20T22:52:20Z","closed_at":"2016-02-20T22:52:19Z","body":"e.g. want someway to make this a failure:\r\n\r\n```R\r\nexpect_warning({ warning(\"a\"); warning(\"b\")}, \"a\")\r\n```\r\n\r\nProbably should be the default"}}