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
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.
The text was updated successfully, but these errors were encountered: