{"action":"created","issue":{"url":"https://api.github.com/repos/carlganz/rintrojs/issues/6","repository_url":"https://api.github.com/repos/carlganz/rintrojs","labels_url":"https://api.github.com/repos/carlganz/rintrojs/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/carlganz/rintrojs/issues/6/comments","events_url":"https://api.github.com/repos/carlganz/rintrojs/issues/6/events","html_url":"https://github.com/carlganz/rintrojs/issues/6","id":177460677,"number":6,"title":"Add unit tests with shinytest","user":{"login":"carlganz","id":11653794,"avatar_url":"https://avatars.githubusercontent.com/u/11653794?v=3","gravatar_id":"","url":"https://api.github.com/users/carlganz","html_url":"https://github.com/carlganz","followers_url":"https://api.github.com/users/carlganz/followers","following_url":"https://api.github.com/users/carlganz/following{/other_user}","gists_url":"https://api.github.com/users/carlganz/gists{/gist_id}","starred_url":"https://api.github.com/users/carlganz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlganz/subscriptions","organizations_url":"https://api.github.com/users/carlganz/orgs","repos_url":"https://api.github.com/users/carlganz/repos","events_url":"https://api.github.com/users/carlganz/events{/privacy}","received_events_url":"https://api.github.com/users/carlganz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/carlganz/rintrojs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-16T15:57:00Z","updated_at":"2016-10-08T15:14:38Z","closed_at":null,"body":"https://github.com/MangoTheCat/shinytest"},"comment":{"url":"https://api.github.com/repos/carlganz/rintrojs/issues/comments/252429826","html_url":"https://github.com/carlganz/rintrojs/issues/6#issuecomment-252429826","issue_url":"https://api.github.com/repos/carlganz/rintrojs/issues/6","id":252429826,"user":{"login":"gaborcsardi","id":660288,"avatar_url":"https://avatars.githubusercontent.com/u/660288?v=3","gravatar_id":"","url":"https://api.github.com/users/gaborcsardi","html_url":"https://github.com/gaborcsardi","followers_url":"https://api.github.com/users/gaborcsardi/followers","following_url":"https://api.github.com/users/gaborcsardi/following{/other_user}","gists_url":"https://api.github.com/users/gaborcsardi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborcsardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborcsardi/subscriptions","organizations_url":"https://api.github.com/users/gaborcsardi/orgs","repos_url":"https://api.github.com/users/gaborcsardi/repos","events_url":"https://api.github.com/users/gaborcsardi/events{/privacy}","received_events_url":"https://api.github.com/users/gaborcsardi/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T15:14:38Z","updated_at":"2016-10-08T15:14:38Z","body":"OK, can you try again? I think this fixed it:\r\nhttps://github.com/MangoTheCat/shinytest/pull/52\r\n\r\nIn brief, shinytest starts another R process to run the app, and this process could not load your package, because it was not installed on the system. (And on Travis, the new R process also did not have the right library paths, anyway.)\r\n\r\nNow we make sure that we set the same library path, as in the R process that runs the check and the tests.\r\n\r\nI you test locally with `devtools::test()`, then you still need to `devtools::install` the package, so that shinytest loads the most recent version. We'll work around this at some point.\r\n\r\nBtw. also note that the shinytest API will probably change significantly in the future."}}
{"actor":{"display_login":"gaborcsardi"}}