{"action":"created","issue":{"url":"https://api.github.com/repos/mdlincoln/clipr/issues/14","repository_url":"https://api.github.com/repos/mdlincoln/clipr","labels_url":"https://api.github.com/repos/mdlincoln/clipr/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/mdlincoln/clipr/issues/14/comments","events_url":"https://api.github.com/repos/mdlincoln/clipr/issues/14/events","html_url":"https://github.com/mdlincoln/clipr/issues/14","id":188953539,"number":14,"title":"more extensive tests on travis","user":{"login":"jennybc","id":599454,"avatar_url":"https://avatars.githubusercontent.com/u/599454?v=3","gravatar_id":"","url":"https://api.github.com/users/jennybc","html_url":"https://github.com/jennybc","followers_url":"https://api.github.com/users/jennybc/followers","following_url":"https://api.github.com/users/jennybc/following{/other_user}","gists_url":"https://api.github.com/users/jennybc/gists{/gist_id}","starred_url":"https://api.github.com/users/jennybc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jennybc/subscriptions","organizations_url":"https://api.github.com/users/jennybc/orgs","repos_url":"https://api.github.com/users/jennybc/repos","events_url":"https://api.github.com/users/jennybc/events{/privacy}","received_events_url":"https://api.github.com/users/jennybc/received_events","type":"User","site_admin":false},"labels":[{"id":253407886,"url":"https://api.github.com/repos/mdlincoln/clipr/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"mdlincoln","id":4392604,"avatar_url":"https://avatars.githubusercontent.com/u/4392604?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false},"assignees":[{"login":"mdlincoln","id":4392604,"avatar_url":"https://avatars.githubusercontent.com/u/4392604?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mdlincoln/clipr/milestones/1","html_url":"https://github.com/mdlincoln/clipr/milestones/0.2.2","labels_url":"https://api.github.com/repos/mdlincoln/clipr/milestones/1/labels","id":2132536,"number":1,"title":"0.2.2","description":"","creator":{"login":"mdlincoln","id":4392604,"avatar_url":"https://avatars.githubusercontent.com/u/4392604?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-11-14T04:30:53Z","updated_at":"2016-11-14T05:14:46Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-11-13T05:39:00Z","updated_at":"2016-11-14T18:38:48Z","closed_at":null,"body":"I am using clipr in [reprex](https://github.com/jennybc/reprex) and had a bit of a struggle getting things set up on travis (surprise ha). But I eventually prevailed.\r\n\r\nI learned a couple things that you might be able to use to test clipr more extensively on travis.\r\n\r\nHere's my `.travis.yml` and everything beyond the minimum is related to clipr.\r\n\r\nhttps://github.com/jennybc/reprex/blob/master/.travis.yml\r\n\r\nFirst, since xclip is [whitelisted](https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise), you can install it and still leave `sudo: false`, so you stay with the container-based infrastructure and caching.\r\n\r\nSecond, you have to set the DISPLAY environment variable to use the clipboard. Somehow your tests pass (?) but mine certainly did not until I sorted this out.\r\n\r\nThanks again for making clipr! I am happy I can use this for the clipboard stuff 😄."},"comment":{"url":"https://api.github.com/repos/mdlincoln/clipr/issues/comments/260421842","html_url":"https://github.com/mdlincoln/clipr/issues/14#issuecomment-260421842","issue_url":"https://api.github.com/repos/mdlincoln/clipr/issues/14","id":260421842,"user":{"login":"mdlincoln","id":4392604,"avatar_url":"https://avatars.githubusercontent.com/u/4392604?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T18:38:48Z","updated_at":"2016-11-14T18:38:48Z","body":"I've renamed to `clipr_available` and also added a check on `read_clip()`, because you never know.\r\n\r\nThe CRAN situation is befuddling - in part because I've not been as rigorous in my testing as I should have been! What I can see so far:\r\n\r\n1. CRAN checks on 0.2.1\r\n    - Examples that attempt `write_clip()` and `read_clip()` pass without complain\r\n    - The tests passed too. But: while those tests called `write_clip()` they did so only to check whether the formatted string that was invisibly returned was correct. They did not actually test to see whether `write_clip()` successfully modified the system clipboard.\r\n3. Travis checks on 0.2.1.9000\r\n    - Examples now fail without xclip/xsel -  so I added `\\dontrun{}`\r\n    - The new tests that _do_ evaluate `write_`/`read_clip()` will work if xclip/xsel installed via `.travis.yml`, but also correctly skip (thanks to `clipr_available()`) if the clipboard cannot be accessed.\r\n2. CRAN checks now\r\n    - Examples pass because of `\\dontrun{}`\r\n    - Tests apparently fail, even with the checking on `clipr_available()`...\r\n\r\n"}}
{"actor":{"display_login":"mdlincoln"}}