{"action":"created","issue":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/468","repository_url":"https://api.github.com/repos/STAT545-UBC/Discussion","labels_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/468/comments","events_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/468/events","html_url":"https://github.com/STAT545-UBC/Discussion/issues/468","id":193709749,"number":468,"title":"having trouble connecting package to github","user":{"login":"AnnaMagdalena","id":17953191,"avatar_url":"https://avatars.githubusercontent.com/u/17953191?v=3","gravatar_id":"","url":"https://api.github.com/users/AnnaMagdalena","html_url":"https://github.com/AnnaMagdalena","followers_url":"https://api.github.com/users/AnnaMagdalena/followers","following_url":"https://api.github.com/users/AnnaMagdalena/following{/other_user}","gists_url":"https://api.github.com/users/AnnaMagdalena/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnaMagdalena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnaMagdalena/subscriptions","organizations_url":"https://api.github.com/users/AnnaMagdalena/orgs","repos_url":"https://api.github.com/users/AnnaMagdalena/repos","events_url":"https://api.github.com/users/AnnaMagdalena/events{/privacy}","received_events_url":"https://api.github.com/users/AnnaMagdalena/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-06T08:22:12Z","updated_at":"2016-12-06T12:05:38Z","closed_at":null,"body":"I have sucessfully stored my github token and can confirm it lives in the .Renviron. However I get errors once I try to connect my package to github , I tried all of the following:\r\ndevtools:: use_github(protocol=\"https\")\r\ndevtools:: use_github()\r\n\r\nHere is an excerpt from that attempt\r\nUsing GitHub PAT from envvar GITHUB_PAT\r\n* Git is already initialized\r\n* Checking title and description\r\n  Title: Tools for visualizing oceanographic data\r\n  Description: Creates ocean property depth profiles and contains a dataset from\r\nan expedition in the North Pacific\r\nAre title and description ok?\r\n1: No\r\n2: No way\r\n3: Definitely\r\n\r\nSelection: 3\r\n* Creating GitHub repository\r\nError in stop(github_error(req)) : Not Found (404)\r\n\r\nFrom what I managed to research, this is to do with authentication, but I can't figure out how to troubleshoot this error. I am on GITHUB_PAT4 now :(\r\n"},"comment":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/comments/265134071","html_url":"https://github.com/STAT545-UBC/Discussion/issues/468#issuecomment-265134071","issue_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/468","id":265134071,"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},"created_at":"2016-12-06T12:05:38Z","updated_at":"2016-12-06T12:05:38Z","body":"What scopes did you request for your token?"}}
{"actor":{"display_login":"jennybc"}}