-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renv does not see gitcreds PAT #2095
Comments
Ah, buried in the usethis docs (https://usethis.r-lib.org/articles/git-credentials.html#what-about-the-remotes-and-pak-packages) there is a hint that remotes (used by renv) does not see the credentials unless it's in the GITHUB_PAT and you can temporarily set that in an R session by "tickling" gitcreds with It would be useful if this was mentioned in the renv docs too or that a more specific pointer is added in the message |
Lines 552 to 580 in 3ef2009
You can try using the R debugger to step through around there to see why your credentials aren't found. |
Thanks! I tried that and
I think gitcreds does not recognise If I then just do |
|
Hi! I have installed gitcreds and set a token with
gitcreds_set()
, made sure the environment does not have a GITHUB_PAT set and setgit config --global credential.helper osxkeychain
, but renv still returns this message:macOS: Sequoia 15.3.1
R: 4.2.2
renv: 1.1.1
The text was updated successfully, but these errors were encountered: