{"action":"created","issue":{"url":"https://api.github.com/repos/r-lib/devtools/issues/1832","repository_url":"https://api.github.com/repos/r-lib/devtools","labels_url":"https://api.github.com/repos/r-lib/devtools/issues/1832/labels{/name}","comments_url":"https://api.github.com/repos/r-lib/devtools/issues/1832/comments","events_url":"https://api.github.com/repos/r-lib/devtools/issues/1832/events","html_url":"https://github.com/r-lib/devtools/issues/1832","id":344252969,"node_id":"MDU6SXNzdWUzNDQyNTI5Njk=","number":1832,"title":"devtools::test crashes RStudio when called twice on package using testthat","user":{"login":"KallyopeBio","id":24900619,"node_id":"MDQ6VXNlcjI0OTAwNjE5","avatar_url":"https://avatars1.githubusercontent.com/u/24900619?v=4","gravatar_id":"","url":"https://api.github.com/users/KallyopeBio","html_url":"https://github.com/KallyopeBio","followers_url":"https://api.github.com/users/KallyopeBio/followers","following_url":"https://api.github.com/users/KallyopeBio/following{/other_user}","gists_url":"https://api.github.com/users/KallyopeBio/gists{/gist_id}","starred_url":"https://api.github.com/users/KallyopeBio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KallyopeBio/subscriptions","organizations_url":"https://api.github.com/users/KallyopeBio/orgs","repos_url":"https://api.github.com/users/KallyopeBio/repos","events_url":"https://api.github.com/users/KallyopeBio/events{/privacy}","received_events_url":"https://api.github.com/users/KallyopeBio/received_events","type":"User","site_admin":false},"labels":[{"id":474594730,"node_id":"MDU6TGFiZWw0NzQ1OTQ3MzA=","url":"https://api.github.com/repos/r-lib/devtools/labels/reprex","name":"reprex","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-25T00:53:12Z","updated_at":"2018-07-25T13:40:23Z","closed_at":null,"author_association":"NONE","body":"RStudio (as well as R sessions run from the terminal) crashes when devtools::test is invoked twice in succession on a package that uses Catch, via package testthat. The crash occurs in testthat/include/testthat/vendor/catch.h.\r\n\r\nI've attached a trivial package that reproduces the problem:\r\n[ttcrash.tar.gz](https://github.com/r-lib/devtools/files/2225976/ttcrash.tar.gz)\r\n\r\nExact steps to reproduce:\r\n1.) Simply install the package to \"some_directory\".\r\n2.) > \"library(devtools)\"\r\n3.) > test(\"some_directory/ttcrash\")\r\n4.) > test(\"some_directory/ttcrash\")\r\n\r\nThe crash will occur on the last step. I'm using R version 3.4.4 and testthat version 2.0.0"},"comment":{"url":"https://api.github.com/repos/r-lib/devtools/issues/comments/407757623","html_url":"https://github.com/r-lib/devtools/issues/1832#issuecomment-407757623","issue_url":"https://api.github.com/repos/r-lib/devtools/issues/1832","id":407757623,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzc1NzYyMw==","user":{"login":"KallyopeBio","id":24900619,"node_id":"MDQ6VXNlcjI0OTAwNjE5","avatar_url":"https://avatars1.githubusercontent.com/u/24900619?v=4","gravatar_id":"","url":"https://api.github.com/users/KallyopeBio","html_url":"https://github.com/KallyopeBio","followers_url":"https://api.github.com/users/KallyopeBio/followers","following_url":"https://api.github.com/users/KallyopeBio/following{/other_user}","gists_url":"https://api.github.com/users/KallyopeBio/gists{/gist_id}","starred_url":"https://api.github.com/users/KallyopeBio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KallyopeBio/subscriptions","organizations_url":"https://api.github.com/users/KallyopeBio/orgs","repos_url":"https://api.github.com/users/KallyopeBio/repos","events_url":"https://api.github.com/users/KallyopeBio/events{/privacy}","received_events_url":"https://api.github.com/users/KallyopeBio/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T13:40:23Z","updated_at":"2018-07-25T13:40:23Z","author_association":"NONE","body":"I can also e-mail you a tar.gz file with the core dump and my R binary if it helps. I cannot attach it here because the file size exceeds 10 MB"}}
{"actor":{"display_login":"KallyopeBio"}}