Closed hfrick closed 2 years ago
usethis now strongly discourages placing the PAT in .Renvir but a few functions in remotes still issue that guidance:
.Renvir
https://github.com/r-lib/remotes/blob/fcad17b68b7a19d5363d64adfb0a0426a3a5b3db/R/github.R#L183
https://github.com/r-lib/remotes/blob/fcad17b68b7a19d5363d64adfb0a0426a3a5b3db/inst/install-github.R#L2684
This could be replaced with "Use `gitcreds::gitcreds_set()` to add the token." or something similar? I'd make a PR but am unsure if this includes updating the corresponding line in ./install-github.R as well?
"Use `gitcreds::gitcreds_set()` to add the token."
./install-github.R
A PR is welcome. :) install-github.R is updated by running make.
install-github.R
make
usethis now strongly discourages placing the PAT in
.Renvir
but a few functions in remotes still issue that guidance:https://github.com/r-lib/remotes/blob/fcad17b68b7a19d5363d64adfb0a0426a3a5b3db/R/github.R#L183
https://github.com/r-lib/remotes/blob/fcad17b68b7a19d5363d64adfb0a0426a3a5b3db/inst/install-github.R#L2684
This could be replaced with
"Use `gitcreds::gitcreds_set()` to add the token."
or something similar? I'd make a PR but am unsure if this includes updating the corresponding line in./install-github.R
as well?