Re: [R] devtools - bad credentials R4.4.1

2024-06-21 Thread Robert Baer
Thank  you Jeff.  I did not know Windows Credential Manager, but I used it and found something that looked like a reference to a GIT PAT and removed it. Now devtools::install_github() is once again installing my package without complaining. Appreciate the direction and links. On 6/20/2024

Re: [R] devtools - bad credentials R4.4.1

2024-06-21 Thread Hadley Wickham
The place to start for such problems is always usethis::git_sitrep() Hadley On Thu, Jun 20, 2024 at 11:17 PM Robert Baer wrote: > I am trying to install a package from github which has worked fine in > the past, but now seems to be stuck on some new authentication issues. > Does anyone know how

Re: [R] devtools - bad credentials R4.4.1

2024-06-20 Thread Jeff Newmiller via R-help
I would delete the PAT from the credential manager since it seems to be timed out anyway... I don't know my way around the Windows Credential Manager very well, but it seems to me

Re: [R] devtools - bad credentials R4.4.1

2024-06-20 Thread Robert Baer
Not being a developer, I have limited uderstanding of PATs and global git options, but here is what I was able to cobble together to start looking at my situation: > Sys.getenv("GITHUB_PAT") [1] "" > Sys.unsetenv("GITHUB_PAT") > Sys.getenv("GITHUB_PAT") [1] "" >

Re: [R] devtools - bad credentials R4.4.1

2024-06-20 Thread Jeff Newmiller via R-help
My guess is that this is related to you saving an expired Personal Access Token in your global git options or credentials store? Git is perfectly capable of using per-repo credentials... don't configure a credential in your global configuration and it won't fall back on using it to access

[R] devtools - bad credentials R4.4.1

2024-06-20 Thread Robert Baer
I am trying to install a package from github which has worked fine in the past, but now seems to be stuck on some new authentication issues.  Does anyone know how I can straighten myself out?  In theory, this is a public repository so I'm not sure why I even need authenticating for