{"action":"closed","issue":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/245","labels_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/245/comments","events_url":"https://api.github.com/repos/STAT545-UBC/Discussion/issues/245/events","html_url":"https://github.com/STAT545-UBC/Discussion/issues/245","id":117487974,"number":245,"title":"GITHUB_PAT","user":{"login":"wang114","id":14221338,"avatar_url":"https://avatars.githubusercontent.com/u/14221338?v=3","gravatar_id":"","url":"https://api.github.com/users/wang114","html_url":"https://github.com/wang114","followers_url":"https://api.github.com/users/wang114/followers","following_url":"https://api.github.com/users/wang114/following{/other_user}","gists_url":"https://api.github.com/users/wang114/gists{/gist_id}","starred_url":"https://api.github.com/users/wang114/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wang114/subscriptions","organizations_url":"https://api.github.com/users/wang114/orgs","repos_url":"https://api.github.com/users/wang114/repos","events_url":"https://api.github.com/users/wang114/events{/privacy}","received_events_url":"https://api.github.com/users/wang114/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-18T01:04:21Z","updated_at":"2015-11-18T02:15:37Z","closed_at":"2015-11-18T02:15:37Z","body":"I saved my `GITHUB_PAT=<token>` in a  `.Renviron` file, but when I use `check()` or `build&reload`, I got the following error message.\r\n\r\nError in eval(expr, envir, enclos) (from Users:apple.R#1) : \r\n  object 'af42edd0cfdbe.......2b2bb2d57f66ba3' not found\r\n\r\n`Sys.getenv(\"GITHUB_PAT\")` works fine."}}