You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do something about GITHUB_PAT=ajskdfjlskflsksdlfkj in .Renviron #1488
If you have previously set your GitHub PAT in .Renviron, stop doing that.
and again later:
If you have previously made your GitHub PAT available by setting the GITHUB_PAT environment variable in .Renviron, you need to actively stop doing that.
and a detailed footnote:
If you have any doubt about your previous practices, open .Renviron, look for any line setting the GITHUB_PAT environment variable, and delete it. usethis::edit_r_environ() can be helpful for getting .Renviron open for editing. Don’t forget to restart R for this change to take effect.
but quite a few users still miss this point.
git_sitrep() should probably help to surface that GITHUB_PAT is being set in .Renviron. Once someone is frustrated and troubleshooting, maybe a hint in git_sitrep() would be enough to allow them to diagnose and solve the problem.
Activity
AmeliaMN commentedon Dec 16, 2021
Just ran into this again and the updated version of
usethissaved me. Thank you!Refactor PAT sitrep functionality; update docs