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
Thanks! Tested the development version and it worked great.
The only issue I hit was that my keychain was using a password rather than PAT to authenticate which didn't work. I guess my GHE server still allows this. Once I switched to a PAT it worked fine. I wouldn't expect you to support authenticating with a password anyways so all good.
The renv.gitcreds.enabled option is great too. I tested that would do the trick without changing my keychain setup and it worked.
Steps to recreate the issue
This fails with an error like:
Apologies that I can't give a real GHE server to make this fully reproducible.
However if
gitcreds
is not installed it works.Possible Solution
It looks like the call to
gitcreds::gitcreds_get()
is always using the default github.com url:renv/R/download.R
Lines 546 to 548 in e7c23ea
Is there a way to pass down the
RemoteHost
inrenv.lock
to givegitcreds
a shot at finding the right PAT?Alternatively, is there a way to shut off authenticating altogether which will be fine as long as I'm using public repos?
The text was updated successfully, but these errors were encountered: