Closed richardreeve closed 3 years ago
So... Gavin doesn't have an .Renviron file, so I tried gitcreds::gitcreds_set()
, without any arguments. It says Enter password or token, so I entered a PAT and it says:
-> Adding new credentials...
-> Removing credentials from cache...
-> Done.
but doesn't seem to create an .Renviron file. From the help, it seems to be some kind of PAT manager? Like a keychain for PATs?
I know my way was a bit more complicated, but I'm uncertain what gitcreds_set()
is supposed to do...
Well, if he then tries to install RPiR does it say it is using the PAT token when it downloads it?
credentials::set_github_pat()
seems to be the right function, but again.. it's not populating .Renviron
...
after trying both of the methods above, install_github()
doesn't use the PAT
I believe my way is the only true way :p and have updated the GitHub instructions accordingly, in a PR, requesting review.
We should add the instructions for adding the PAT token to the end of the github instructions. I think it's just:
but we need to try it on a computer where it's not already configured.