{"action":"created","issue":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/248","labels_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/248/comments","events_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/248/events","html_url":"https://github.com/STAT545-UBC/Discussion/issues/248","id":117904164,"number":248,"title":"Error while connecting to Github : homework 08 ","user":{"login":"Poush87","id":10982612,"avatar_url":"https://avatars.githubusercontent.com/u/10982612?v=3","gravatar_id":"","url":"https://api.github.com/users/Poush87","html_url":"https://github.com/Poush87","followers_url":"https://api.github.com/users/Poush87/followers","following_url":"https://api.github.com/users/Poush87/following{/other_user}","gists_url":"https://api.github.com/users/Poush87/gists{/gist_id}","starred_url":"https://api.github.com/users/Poush87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Poush87/subscriptions","organizations_url":"https://api.github.com/users/Poush87/orgs","repos_url":"https://api.github.com/users/Poush87/repos","events_url":"https://api.github.com/users/Poush87/events{/privacy}","received_events_url":"https://api.github.com/users/Poush87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-19T20:45:38Z","updated_at":"2015-11-20T03:05:47Z","closed_at":null,"body":"In the foofactors package, when creating a companion repo on Github, I get a PAT, stow it in .Renviron but get the following error with use_github: \r\nUsing github PAT from envvar GITHUB_PAT\r\n\r\n* Creating GitHub repository\r\n* Adding GitHub remote\r\nError in validObject(.Object) : \r\n  invalid class \"git_repository\" object: Invalid repository\r\n\r\nGithub shows a repo named foofactors, but the push/pull option in my R project is greyed out. I do have git files in my project so it's using git locally. \r\n\r\nAny ideas as to what's going wrong? \r\n\r\nThanks! "},"comment":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/comments/158265791","html_url":"https://github.com/STAT545-UBC/Discussion/issues/248#issuecomment-158265791","issue_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/248","id":158265791,"user":{"login":"Poush87","id":10982612,"avatar_url":"https://avatars.githubusercontent.com/u/10982612?v=3","gravatar_id":"","url":"https://api.github.com/users/Poush87","html_url":"https://github.com/Poush87","followers_url":"https://api.github.com/users/Poush87/followers","following_url":"https://api.github.com/users/Poush87/following{/other_user}","gists_url":"https://api.github.com/users/Poush87/gists{/gist_id}","starred_url":"https://api.github.com/users/Poush87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Poush87/subscriptions","organizations_url":"https://api.github.com/users/Poush87/orgs","repos_url":"https://api.github.com/users/Poush87/repos","events_url":"https://api.github.com/users/Poush87/events{/privacy}","received_events_url":"https://api.github.com/users/Poush87/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T03:05:47Z","updated_at":"2015-11-20T03:05:47Z","body":"The ssh key doesn't have a passphrase - I can push/pull from stat545 repo, that should mean that the ssh-agent is configured to provide it, right? "}}