{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/testthat/issues/287","labels_url":"https://api.github.com/repos/hadley/testthat/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/hadley/testthat/issues/287/comments","events_url":"https://api.github.com/repos/hadley/testthat/issues/287/events","html_url":"https://github.com/hadley/testthat/issues/287","id":99924042,"number":287,"title":"CRAN output truncation can make failures hard to resolve","user":{"login":"jonclayden","id":422057,"avatar_url":"https://avatars.githubusercontent.com/u/422057?v=3","gravatar_id":"","url":"https://api.github.com/users/jonclayden","html_url":"https://github.com/jonclayden","followers_url":"https://api.github.com/users/jonclayden/followers","following_url":"https://api.github.com/users/jonclayden/following{/other_user}","gists_url":"https://api.github.com/users/jonclayden/gists{/gist_id}","starred_url":"https://api.github.com/users/jonclayden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonclayden/subscriptions","organizations_url":"https://api.github.com/users/jonclayden/orgs","repos_url":"https://api.github.com/users/jonclayden/repos","events_url":"https://api.github.com/users/jonclayden/events{/privacy}","received_events_url":"https://api.github.com/users/jonclayden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-09T19:53:08Z","updated_at":"2015-09-23T09:40:28Z","closed_at":"2015-09-23T09:40:28Z","body":"A recent CRAN submission of mine fails one of its tests on \"oldrel-windows\", but I can't tell which one because they truncate the output:\r\n\r\n    running tests for arch 'i386' ... ERROR\r\n    Running the tests in 'tests/test-all.R' failed.\r\n    Last 13 lines of output:\r\n      13: all.equal.list(ax, ay, ..., check.attributes = check.attributes)\r\n      14: all.equal(target[[i]], current[[i]], check.attributes = check.attributes, use.names = use.names, \r\n             ...)\r\n      15: all.equal.default(target[[i]], current[[i]], check.attributes = check.attributes, \r\n             use.names = use.names, ...)\r\n      16: all.equal.list(target, current, ...)\r\n      \r\n      testthat results ================================================================\r\n      OK: 32 SKIPPED: 0 FAILED: 1\r\n      1. Error: Oniguruma regular expression compilation and interpretation works \r\n      \r\n      Error: testthat unit tests failed\r\n      Execution halted\r\n\r\nDue to the long stack trace, I can tell which block is causing the failure, but not which expectation. I know this is down to how CRAN handles test failures, but it would be useful if `testthat` could play nicer with that limitation by making it clear at the end of the output where the failure is."},"comment":{"url":"https://api.github.com/repos/hadley/testthat/issues/comments/142547020","html_url":"https://github.com/hadley/testthat/issues/287#issuecomment-142547020","issue_url":"https://api.github.com/repos/hadley/testthat/issues/287","id":142547020,"user":{"login":"jonclayden","id":422057,"avatar_url":"https://avatars.githubusercontent.com/u/422057?v=3","gravatar_id":"","url":"https://api.github.com/users/jonclayden","html_url":"https://github.com/jonclayden","followers_url":"https://api.github.com/users/jonclayden/followers","following_url":"https://api.github.com/users/jonclayden/following{/other_user}","gists_url":"https://api.github.com/users/jonclayden/gists{/gist_id}","starred_url":"https://api.github.com/users/jonclayden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonclayden/subscriptions","organizations_url":"https://api.github.com/users/jonclayden/orgs","repos_url":"https://api.github.com/users/jonclayden/repos","events_url":"https://api.github.com/users/jonclayden/events{/privacy}","received_events_url":"https://api.github.com/users/jonclayden/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T09:40:28Z","updated_at":"2015-09-23T09:40:28Z","body":"Sorry - the current release seems to do this. I guess that build environment was using testthat < 0.10."}}